- watch(Boolean) - Method in class com.gwidgets.api.leaflet.options.LocateOptions.Builder
-
If true, starts continuous watching of location changes (instead of
detecting it once) using W3C watchPosition method.
- weight(Number) - Method in class com.gwidgets.api.leaflet.options.PathOptions.Builder
-
Stroke width in pixels.
- weight(Number) - Method in class com.gwidgets.api.leaflet.options.PolylineOptions.Builder
-
Stroke width in pixels.
- whenReady(Function, Object) - Method in class com.gwidgets.api.leaflet.Map
-
Runs the given callback when the map gets initialized with a place and zoom, or immediately if it happened already, optionally passing a function context.
- wms(String, TileLayerWMSOptions) - Static method in class com.gwidgets.api.leaflet.L.tileLayer
-
Used to display WMS services as tile layers on the map.
- WMS - Class in com.gwidgets.api.leaflet
-
Used to display WMS services as tile layers on the map.
- worldCopyJump(Boolean) - Method in class com.gwidgets.api.leaflet.options.MapOptions.Builder
-
With this option enabled, the map tracks when you pan to another "copy" of the world and seamlessly jumps to the original one so that all overlays like markers and vector layers are still visible.
- wrap(Number, Number) - Method in class com.gwidgets.api.leaflet.LatLng
-
Returns a new LatLng object with the longitude wrapped around left and right boundaries (-180 to 180 by default).