@JsType(isNative=true, namespace="<global>", name="Object") public class GeocoderViewModelOptions extends Object
GeocoderViewModel
Modifier and Type | Field and Description |
---|---|
GeocoderViewModel.DestinationFoundFunction |
destinationFound
A callback function that is called after a successful geocode.
|
double |
flightDuration
The duration of the camera flight to an entered location, in seconds.
|
GeocoderService[] |
geocoderServices
Geocoder services to use for geocoding queries.
|
Scene |
scene
The Scene instance to use.
|
Modifier and Type | Method and Description |
---|---|
static GeocoderViewModelOptions |
create(Scene scene)
Fast create instance of
GeocoderViewModelOptions by mandatory params |
@JsProperty public Scene scene
@JsProperty public GeocoderService[] geocoderServices
@JsProperty public double flightDuration
@JsProperty public GeocoderViewModel.DestinationFoundFunction destinationFound
@JsOverlay public static GeocoderViewModelOptions create(Scene scene)
GeocoderViewModelOptions
by mandatory paramsscene
- The Scene instance to use.GeocoderViewModelOptions
instance.Copyright © 2019. All rights reserved.