Geocoder

new SuperMap3D.Geocoder(options)

A widget for finding addresses and landmarks, and flying the camera to them. Geocoding is performed using the Service Key.
Name Type Description
options Object Object with the following properties:
Name Type Default Description
container Element | String The DOM element or ID that will contain the widget.
viewer Viewer
scene Scene The Scene instance to use.
flightDuration Number 1.5 optional The duration of the camera flight to an entered location, in seconds.

Members

container : Element

Gets the parent container.

viewModel : GeocoderViewModel

Gets the view model.

Methods

destroy()

Destroys the widget. Should be called if permanently removing the widget from layout.

isDestroyed()Boolean

Returns:
true if the object has been destroyed, false otherwise.