GeolocationButton
Expression Extends:
class GeolocationButton extends mixin(Control, [ActivatableMixin, ListenerOrganizerMixin])
This class provides a button to center the view on your current geoposition.
Constructor Summary
Public Constructor | ||
public |
constructor(options: GeoLocationButtonOptions) |
Member Summary
Public Members | ||
public |
|
|
public |
geolocation_: * |
|
public |
layer_: * |
Private Members | ||
private |
|
|
private |
|
|
private |
|
|
private |
|
|
private |
|
Method Summary
Public Methods | ||
public |
Show/Hide the geolocation on the map as point with a circle in the size of the accuracy around |
|
public |
changeHandler_(options: *) |
|
public |
|
Public Constructors
public constructor(options: GeoLocationButtonOptions) source
Params:
Name | Type | Attribute | Description |
options | GeoLocationButtonOptions |
|