getGeocodeService(requestOptions?:Â IEndpointOptions): Promise<IGetGeocodeServiceResponse>
Used to fetch metadata from a geocoding service.
Use dark colors for code blocks Copy
1
2
3
4
5
6
import { getGeocoderServiceInfo } from '@esri/arcgis-rest-geocoding';
getGeocoderServiceInfo()
.then((response) => {
response.serviceDescription; // => 'World Geocoder'
});
Parameters Parameter Type Notes requestOptions
IEndpointOptions
Request options can contain a custom geocoding service to fetch metadata from.
ReturnsÂPromise<IGetGeocodeServiceResponse>
A Promise that will resolve with the data from the response.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4