mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-23 14:43:43 +00:00
Organic Maps sources as of 02.04.2025 (fad26bbf22ac3da75e01e62aa01e5c8e11861005)
To expand with full Organic Maps and Maps.ME commits history run: git remote add om-historic [om-historic.git repo url] git fetch --tags om-historic git replace squashed-history historic-commits
This commit is contained in:
38
iphone/Maps/Classes/CarPlay/CPConstants.swift
Normal file
38
iphone/Maps/Classes/CarPlay/CPConstants.swift
Normal file
@@ -0,0 +1,38 @@
|
||||
import Foundation
|
||||
|
||||
struct CPConstants {
|
||||
struct TemplateKey {
|
||||
static let map = "map_type"
|
||||
static let alert = "alert_type"
|
||||
static let list = "list_type"
|
||||
}
|
||||
struct TemplateType {
|
||||
static let main = "main"
|
||||
static let navigation = "navigation"
|
||||
static let preview = "preview"
|
||||
static let previewAccepted = "preview_accepted"
|
||||
static let previewSettings = "preview_settings"
|
||||
static let redirectRoute = "redirect_route"
|
||||
static let restoreRoute = "restore_route"
|
||||
static let downloadMap = "download_map"
|
||||
}
|
||||
|
||||
struct ListItemType {
|
||||
static let history = "history"
|
||||
static let bookmarks = "bookmarks"
|
||||
static let bookmarkLists = "bookmark_lists"
|
||||
static let searchResults = "search_results"
|
||||
}
|
||||
|
||||
struct Maneuvers {
|
||||
static let primary = "primary"
|
||||
static let secondary = "secondary"
|
||||
}
|
||||
|
||||
struct Trip {
|
||||
static let start = "start_point"
|
||||
static let end = "end_point"
|
||||
static let errorCode = "error_code"
|
||||
static let missedCountries = "countries"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user