@JsType(isNative=true, namespace="<global>", name="Object") public class LocateOptions extends Object
Modifier and Type | Class and Description |
---|---|
static class |
LocateOptions.Builder
The Class Builder.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getEnableHighAccuracy()
Gets whether high accuracy is enabled, see description in
the
W3C spec .
|
double |
getMaximumAge()
Gets the maximum age of detected location.
|
double |
getMaxZoom()
Gets the maximum zoom for automatic view setting when using `setView`
option.
|
boolean |
getSetView()
Gets whether If true, automatically sets the map view to the user
location with respect to detection accuracy, or to world view if
geolocation failed.
|
double |
getTimeout()
Gets the number of milliseconds to wait for a response from geolocation
before firing a locationerror event.
|
boolean |
getWatch()
Gets whether continuous watching of location changes (instead of
detecting it once) using W3C watchPosition method is set.
|
@JsOverlay public final boolean getWatch()
@JsOverlay public final boolean getSetView()
@JsOverlay public final double getMaxZoom()
@JsOverlay public final double getTimeout()
@JsOverlay public final double getMaximumAge()
@JsOverlay public final boolean getEnableHighAccuracy()
Copyright © 2018 G-Widgets. All rights reserved.