PeliasGeocoderService
Provides geocoding via a Pelias server.
// Configure a Viewer to use the Pelias server hosted by https://geocode.earth/
const viewer = new Viewer('cesiumContainer', {
geocoder: new PeliasGeocoderService(new Resource({
url: 'https://api.geocode.earth/v1/',
queryParameters: {
api_key: '<Your geocode.earth API key>'
}
}))
});
Content copied to clipboard
See also
Properties
Functions
Link copied to clipboard
suspend fun geocode(query: String, type: GeocodeType? = definedExternally): ERROR CLASS: Symbol not found for ReadonlyArray<cesium/engine/GeocoderService.Result>
Link copied to clipboard
fun geocodeAsync(query: String, type: GeocodeType? = definedExternally): ERROR CLASS: Symbol not found for Promise<ERROR CLASS: Symbol not found for ReadonlyArray<cesium/engine/GeocoderService.Result>>