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

Map4dServicesDTQG 0.1.0

Map4dServicesDTQG 0.1.0

Maintained by Huy Dang.



  • By
  • IOTLink

Map4D Services SDK

map4d platform cocoapods

Map4D Services DTQG SDK brings the Map4D API DTQG Services for your iOS Application

Installation

Use CocoaPods.

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

Provide access key

Edit Info.plist and add Map4d services access key

<key>Map4dServicesAccessKey</key>
<string>YOUR_SERVICES_ACCESS_KEY</string>

Example

Get place detail

Swift

let service = MFPlacesService()
service.fetchPlaceDetail(withPlaceId: "60dd3850f81cb14bc880ed52") { result, error in
  guard let result = result else {
    dump(error)
    return
  }
  print("name \(result.name)")
}

Objective-C

MFPlacesService* service = [[MFPlacesService alloc] init];
[service fetchPlaceDetailWithPlaceId:placeId completionHandler:^(id<MFPlaceDetailResult> _Nullable result, id<MFServiceError>  _Nullable error) {
  if (error != nil) {
    NSLog(@"code: %@, message: %@", error.code, error.message);
  }
  else {
    NSLog(@"name: %@", result.name);
  }
}];

License

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