Package | Description |
---|---|
com.gwidgets.api.leaflet.options |
Modifier and Type | Method and Description |
---|---|
LocateOptions.Builder |
LocateOptions.Builder.enableHighAccuracy(java.lang.Boolean enableHighAccuracy)
Gets whether high accuracy is enabled, see description in the W3C
spec .
|
LocateOptions.Builder |
LocateOptions.Builder.maximumAge(java.lang.Number maximumAge)
Maximum age of detected location.
|
LocateOptions.Builder |
LocateOptions.Builder.maxZoom(java.lang.Number maxZoom)
The maximum zoom for automatic view setting when using `setView`
option.
|
LocateOptions.Builder |
LocateOptions.Builder.setView(java.lang.Boolean setView)
If true, automatically sets the map view to the user location with
respect to detection accuracy, or to world view if geolocation
failed.
|
LocateOptions.Builder |
LocateOptions.Builder.timeout(java.lang.Number timeout)
Number of milliseconds to wait for a response from geolocation before
firing a locationerror event.Timeout.
|
LocateOptions.Builder |
LocateOptions.Builder.watch(java.lang.Boolean watch)
If true, starts continuous watching of location changes (instead of
detecting it once) using W3C watchPosition method.
|