The HTML5 Geolocation Position options for locating.
Indicates whether the widget should navigate the view to the position and scale of the geolocated result.
This function provides the ability to override either the IMapView goTo() or SceneView goTo() methods.
The graphic used to show the user's location on the map.
The widget's default CSS icon class.
The unique ID assigned to the widget when the widget is created.
The widget's label.
Indicates the scale to set on the view when navigating to the position of the geolocated result once a location is returned from the track event.
Indicates whether the widget will automatically rotate to user's direction.
The view model for this widget.
Indicates whether the widget is visible.
This function provides the ability to interrupt and cancel the process of programmatically obtaining the location of the user's device.
A utility method used for building the value for a widget's class
property.
Destroys the widget instance.
Emits an event on the instance.
Indicates whether there is an event listener on the instance that matches the provided event name.
isFulfilled()
may be used to verify if creating an instance of the class is fulfilled (either resolved or rejected).
isRejected()
may be used to verify if creating an instance of the class is rejected.
isResolved()
may be used to verify if creating an instance of the class is resolved.
Animates the view to the user's location.
Widget teardown helper.
This method is primarily used by developers when implementing custom widgets. Executes after widget is ready for rendering.
This method is primarily used by developers when implementing custom widgets. It must be implemented by subclasses for rendering.
Renders widget to the DOM immediately.
This method is primarily used by developers when implementing custom widgets. Schedules widget rendering.
when()
may be leveraged once an instance of the class is created.
Generated using TypeDoc
The ID or node representing the DOM element containing the widget.
Read more...