CocoaPods trunk is moving to be read-only. Read more on the blog, there are 17 months to go.

map4dsdk 1.2.4

map4dsdk 1.2.4

Maintained by Sua Le.



map4dsdk 1.2.4

  • By
  • Sua Le

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
    }
}

Document references

1. Getting started

2. Map user interaction

3. Type

4. Map events

5. Marker

6. Polyline

7. Polygon

8. Circle

9. 3D objects

10. Tile area

11. Effect map

12. LatLngBounds

13. Map utils

14. Place

License

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