CMSuggestGeocoding
public class CMSuggestGeocoding
The Suggest Geocoding service encapsulates suggestGeocoding queries to cercalia API.
The Suggest Geocoder works with an APIKEY. Use the following call to configure it:
{CMCercalia.instance.apiKey = API_KEY}
Resolution of the queries is done asyncronously, so a delegate must be defined
CMSuggestGeocoding.getInstance().geocoding(address, delegate: self);
Copyright © 2017 Nexusgeographics All rights reserved.
-
Gets instance.
Declaration
Swift
public static func getInstance() -> CMSuggestGeocodingReturn Value
the instance
-
Geocoding.
Declaration
Swift
public func geocoding(cityCode:String?, streetCode:String?, houseNumber:String?, delegate: CMSuggestGeocodingDelegate)Parameters
cityCodethe city code
streetCodethe street code
houseNumberthe house number
delegatethe delegate
-
Geocoding.
Declaration
Swift
public func geocoding(address: CMAddress, delegate: CMSuggestGeocodingDelegate)Parameters
addressthe address
delegatethe delegate
CMSuggestGeocoding Class Reference