feat: Add Intaleq Native Android Kotlin & iOS Swift SDKs, Incline slope routing, Topographic contours and modular tactical app
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
import Foundation
|
||||
|
||||
/**
|
||||
* Main entry point for Intaleq Sovereign Maps Commercial SDK for iOS (Swift).
|
||||
* Fully compatible with Google Maps SDK API conventions.
|
||||
*/
|
||||
public class IntaleqMaps {
|
||||
|
||||
public static let shared = IntaleqMaps()
|
||||
|
||||
public private(set) var apiKey: String = ""
|
||||
public private(set) var baseUrl: String = "https://map-saas.intaleqapp.com"
|
||||
public private(set) var isInitialized: Bool = false
|
||||
|
||||
private init() {}
|
||||
|
||||
/**
|
||||
* Initializes the Intaleq Maps SDK with your SaaS API Key.
|
||||
*/
|
||||
public static func initialize(apiKey: String, baseUrl: String = "https://map-saas.intaleqapp.com") {
|
||||
shared.apiKey = apiKey
|
||||
shared.baseUrl = baseUrl.trimmingCharacters(in: CharacterSet(charactersIn: "/"))
|
||||
shared.isInitialized = true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user