Skip to content
Map4D SDK for iOS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs/vi
examples/ios-sdk-examples
sdk/map4dsdk.framework
simplemap
.gitignore
LICENSE
README.md
map4dsdk.podspec

README.md

Map4D SDK

Map4D SDK for iOS, written in C++, Objective C/C++.

CocoaPods

Installation

Use CocoaPods.

  1. Update your cocoapods local repo
pod repo update
  1. Add to Podfile
pod 'map4dsdk'

Using

  1. Provide access key
import map4dsdk

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?


    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
        // Override point for customization after application launch.
      
        MFServices.provideAccessKey("98fd21346d83bee24dc734231f7609c9")        
        return true
    }
  //....
}
  1. Create map view
import UIKit
import map4dsdk
class ViewController: UIViewController {
  
    override func viewDidLoad() {
        super.viewDidLoad()
        let mapView = MFMapView(frame: self.view.frame)
        view = mapView
    }
}

License

Copyright (C) 2016 IOT Link Ltd. All Rights Reserved.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.