IOS High German map SDK positioning and search for specific information near the use

The function of the map is always a little bit of a problem

The use of High German SDK need to configure the development environment, the official website is very clear.

1 display map, positioning, display the current location.

You need to import the function of the header file, declare global variables, proxy methods, etc..

IOS High German map SDK positioning and search for specific information near the use

Initialize the map, the controller is about to show the amount of time to locate and track the user, where the parameters do not understand, then there are comments into the busy busy.

IOS High German map SDK positioning and search for specific information near the use

By the way。 IOS8 positioning need to add the following NSLocationAlwaysUsageDescription field in info.plist
NSLocationWhenInUseUsageDescription always access to user location during the application to access the user location
you need to add a line, type String, behind the text not what can not write (the first location pop-up boxes displayed words). I see someone two fill up a write YES a NO… Pit!!!

IOS High German map SDK positioning and search for specific information near the use

When the positioning is successful, the callback method will be used to obtain the user’s latitude and longitude

IOS High German map SDK positioning and search for specific information near the use

When you click on the map to locate the annotation to carry out anti geocoding to encode the query, get the current user’s address location to replace the location of the title and sub title

IOS High German map SDK positioning and search for specific information near the use
IOS High German map SDK positioning and search for specific information near the use
IOS High German map SDK positioning and search for specific information near the use

The results are as follows..

IOS High German map SDK positioning and search for specific information near the use

2 display user information

Init search class. Gets the user’s current location via the POI peripheral request

IOS High German map SDK positioning and search for specific information near the use
IOS High German map SDK positioning and search for specific information near the use

Callback method in the POI search to the address stored in the array, refresh tableview

IOS High German map SDK positioning and search for specific information near the use

The results are as follows

IOS High German map SDK positioning and search for specific information near the use

I follow the above steps should be no problem ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~