The TomTom Maps SDK gives you the ability to use either online or offline styles in your mobile application.
If you choose to use offline styles, they will be imported to your app with the Maps SDK
TomTomOnlineSDKMaps. Thanks to that, the styles will already be included in your app at
download time. The styles are added to the Maps SDK framework by default.
To integrate the TomTomOnlineSDKMaps for iOS into your Xcode project using CocoaPods, specify it in your Podfile:
To integrate the TomTomOnlineSDKMaps with online styles (You will need to provide it
TTMapStyleConfiguration) for iOS into your Xcode project using CocoaPods, specify it in
Add the service key taken from the My Dashboard site.
Additionally, there is the TomTomOnlineSDKMapsUIExtensions framework with default UI controls and other assets for the map.
To use this framework in your project add it to the podfile (it doesn’t require any key).
The basic steps for adding a map are:
- Set up your project as described in DOWNLOADS.
- Create the object 'TTMapView'.
- Obtain keys in config.
Initializing a map: