Getting started
Getting started
TomTomOnlineSDKRouting on Cocoapods
To integrate TomTomOnlineSDKRouting for iOS into your Xcode project using CocoaPods, specify it in your Podfile:
pod 'TomTomOnlineSDKRouting'
Service Key
Add the service key from the Routing API https://developer.tomtom.com/routing-api site.
_
TTRoute(key:<Key>)
LongDistanceEVService(key:<Key>)
[[TTRoute alloc] initWithKey:<Key>];
[[LongDistanceEVService alloc] initWithKey:<Key>];
When you want to use Long EV distance routing:
_
LongDistanceEVService(key:<Key>)
[[LongDistanceEVService alloc] initWithKey:<Key>];