Package | Description |
---|---|
com.gwidgets.api.leaflet | |
com.gwidgets.api.leaflet.options |
Modifier and Type | Method and Description |
---|---|
L |
Map.locate(LocateOptions options)
Tries to locate the user using the Geolocation API, firing a locationfound event with location data on success or a locationerror event on failure, and optionally sets the map view to the user's location with respect to detection accuracy (or to the world view if geolocation failed).
|
Modifier and Type | Method and Description |
---|---|
LocateOptions |
LocateOptions.Builder.build()
Builds the LocateOptions new instance
|
Copyright © 2018 G-Widgets. All rights reserved.