@JsType(isNative=true, namespace="Cesium", name="OpenCageGeocoderService") public class OpenCageGeocoderService extends Object implements GeocoderService
Constructor and Description |
---|
OpenCageGeocoderService(Resource resource,
String apiKey) |
OpenCageGeocoderService(Resource resource,
String apiKey,
OpenCageGeocoderServiceOptions options) |
OpenCageGeocoderService(String resource,
String apiKey) |
OpenCageGeocoderService(String resource,
String apiKey,
OpenCageGeocoderServiceOptions options) |
Modifier and Type | Method and Description |
---|---|
Promise<GeocoderResult[],String> |
geocode(String query)
Process query request to service
|
@JsConstructor public OpenCageGeocoderService(String resource, String apiKey)
resource
- The endpoint to the OpenCage server.apiKey
- The OpenCage API Key.@JsConstructor public OpenCageGeocoderService(String resource, String apiKey, OpenCageGeocoderServiceOptions options)
resource
- The endpoint to the OpenCage server.apiKey
- The OpenCage API Key.@JsConstructor public OpenCageGeocoderService(Resource resource, String apiKey)
resource
- The endpoint to the OpenCage server.apiKey
- The OpenCage API Key.@JsConstructor public OpenCageGeocoderService(Resource resource, String apiKey, OpenCageGeocoderServiceOptions options)
resource
- The endpoint to the OpenCage server.apiKey
- The OpenCage API Key.@JsMethod public Promise<GeocoderResult[],String> geocode(String query)
query
- The query to be sent to the geocoder serviceCopyright © 2019. All rights reserved.