Navmii SDK
2.2.0
Write yourself a navigation system in iOS
|
Inherits <NSObject>.
Instance Methods | |
(nullable instancetype) | - NS_UNAVAILABLE |
(NMGeocodingRequest *) | - createGeocodingRequestWithSearchQuery:andCoordinates: |
(NMReverseGeocodingRequest *) | - createReverseGeocodingRequestWithCoordinates: |
(NMPoiRequest *) | - createPoiRequestWithSearchQuery:andCoordinates: |
(NMCountryAndStateRequest *) | - createCountryAndStateRequestWithCoordinates: |
Class Methods | |
(nullable instancetype) | + NS_UNAVAILABLE |
NMSearchService is a factory to create objects of all types of search requests needed: geocoding, reverse geocoding, places (POI) search and light variation of reverse geocoding needed to get only country and state info.
- (NMCountryAndStateRequest *) createCountryAndStateRequestWithCoordinates: | (NMMapCoordinates *) | coordinates |
Creates request to perform search for the nearest POIs.
coordinates | of a point to perform reverse geocoding of country and state. |
- (NMGeocodingRequest *) createGeocodingRequestWithSearchQuery: | (NSString *) | searchQuery | |
andCoordinates: | (NMMapCoordinates *) | coordinates | |
Creates request to perform geocoding search.
searchQuery | textual query to perform search. |
coordinates | center of the area of search. |
- (NMPoiRequest *) createPoiRequestWithSearchQuery: | (NSString *) | searchQuery | |
andCoordinates: | (NMMapCoordinates *) | coordinates | |
Creates request to perform search for POIs around the specified coordinates using the specified searchQuery. Results will be sorted by distance from the coordinates specified in the request.
searchQuery | textual query to perform search. |
coordinates | center of the area of search. |
- (NMReverseGeocodingRequest *) createReverseGeocodingRequestWithCoordinates: | (NMMapCoordinates *) | coordinates |
Creates request to perform reverse geocoding search. Use this type of request when you need to get the full address at some coordinates.
coordinates | coordinates of a point to perform reverse geocoding. |
- (nullable instancetype) NS_UNAVAILABLE |
+ (nullable instancetype) NS_UNAVAILABLE |