Modifier and Type | Class and Description |
---|---|
static interface |
GeocoderViewModel.DestinationFoundFunction
A function that handles the result of a successful geocode.
|
Modifier and Type | Field and Description |
---|---|
boolean |
autoComplete
True if the geocoder should query as the user types to autocomplete
Default: true
|
Event |
complete
Gets the event triggered on flight completion.
|
double |
flightDuration
Gets or sets the the duration of the camera flight in seconds.
|
boolean |
isSearchInProgress
Gets a value indicating whether a search is currently in progress.
|
boolean |
keepExpanded
Gets or sets a value indicating if this instance should always show its text input field.
|
Scene |
scene
Gets the scene to control.
|
Command |
search
Gets the Command that is executed when the button is clicked.
|
String |
searchText
Gets or sets the text to search for.
|
Object |
selectedSuggestion
Gets the currently selected geocoder search suggestion
|
Object[] |
suggestions
Gets the list of geocoder search suggestions
|
Constructor and Description |
---|
GeocoderViewModel(GeocoderViewModelOptions options) |
Modifier and Type | Method and Description |
---|---|
static GeocoderViewModel |
create(Scene scene)
Fast create instance of
GeocoderViewModel by mandatory params |
void |
destroy()
Destroys the widget.
|
@JsProperty public boolean autoComplete
@JsProperty public Event complete
@JsProperty public double flightDuration
@JsProperty public boolean isSearchInProgress
@JsProperty public boolean keepExpanded
@JsProperty public Scene scene
@JsProperty public Command search
@JsProperty public String searchText
@JsProperty public Object selectedSuggestion
@JsProperty public Object[] suggestions
@JsConstructor public GeocoderViewModel(GeocoderViewModelOptions options)
@JsOverlay public static GeocoderViewModel create(Scene scene)
GeocoderViewModel
by mandatory paramsscene
- The Scene instance to use.GeocoderViewModel
instance@JsMethod public void destroy()
Copyright © 2019. All rights reserved.