Location:

Questions

Why does my Navinfo map API map not show the basemap?

Check if the correct AK is used in the program, and if there is permission to open a network connection. Online mode requires Internet connection and offline mode requires offline data.

How do I make my maps automatically target?

First open the relevant permissions in the program, then initialize MBGpsLocation, and then turn on GPS positioning to achieve the current location display. If you want the map to follow the current position linkage, introduce the MBGpsLocation class. And set the MBGpsLocationDelegate proxy and implement - (void) didGpsInfoUpdated: (MBGpsInfo*) info callback method then obtain the latitude and longitude and then use the setWorldCenter message of MBMapView to set the map center point and change the coordinates of MBIconOverlay to set the logo position. See [Navinfo for details) Navigation SDK for iOS] interface documentation.

How do I check if a module is authorized in the app?

You need to call MBEngine to send sdkAuthCheck:(MBSdkAuthType) type message before the application initializes the map. Pass the authorization type and automatically check when the map is initialized.

For more information about MapView, please also refer to the [Navinfo Navigation SDK for iOS] interface documentation.

How do I use live traffic?

First initialize the MBMapView object and set self.mapView.enableTmc = YES; to start real-time traffic, self.mapView.enableTmc = No; cancel real-time traffic.

What gestures does the iOS SDK provide?

Single point moveable, zoom in on the map, single-finger zoom, multi-point control of map horizontal angle and map direction.

Why is the color matching of the color matching file correct, and the color is wrong when reading?

Delete packet.dat and put the new version of the resource file directory into the project. For details, see the placement of resource files in the SDKDemo project.

TOP