The HTML5 Geolocation Position options for locating.
Indicates whether the widget will automatically navigate the view to the user's position when a geolocation result is found.
This function provides the ability to override either the IMapView goTo() or SceneView goTo() methods.
The graphic used to show the user's location in the view.
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 is watching for new positions.
Indicates whether the widget will automatically rotate to user's direction.
The view model for this widget.
Indicates whether the widget is visible.
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.
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 executed, the widget will start tracking the user's location.
Stops tracking the user's location when executed.
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...