public Task<IEnumerable<GeocodeResult>> GeocodeAsync( string location, bool showResultsOnMap, bool zoomToFirstResult )
Public Function GeocodeAsync( _ ByVal location As String, _ ByVal showResultsOnMap As Boolean, _ ByVal zoomToFirstResult As Boolean _ ) As Task(Of IEnumerable(Of GeocodeResult))
Parameters
- location
- The address/location to geocode.
- showResultsOnMap
- Should the candidate results be displayed on the active map?
- zoomToFirstResult
- Should the map zoom to the first candidate result?
Return Value
Task of enumeration of GeocodeResult objects. If no locators can be found then null is returned.