- scale(Number) - Method in interface com.gwidgets.api.leaflet.ICRS
-
Returns the scale used when transforming projected coordinates into pixel coordinates for a particular zoom.
- scale(ControlScaleOptions) - Static method in class com.gwidgets.api.leaflet.L.control
-
A simple scale control that shows the scale of the current center of screen in metric (m/km) and imperial (mi/ft) systems.
- Scale - Class in com.gwidgets.api.leaflet
-
A simple scale control that shows the scale of the current center of screen in metric (m/km) and imperial (mi/ft) systems.
- screenX - Variable in class com.gwidgets.api.leaflet.elemental.DOMMouseEvent
-
- screenY - Variable in class com.gwidgets.api.leaflet.elemental.DOMMouseEvent
-
- scrollWheelZoom(Boolean) - Method in class com.gwidgets.api.leaflet.options.MapOptions.Builder
-
Whether the map can be zoomed by using the mouse wheel.
- setBounds(LatLngBounds) - Method in class com.gwidgets.api.leaflet.Rectangle
-
Redraws the rectangle with the passed bounds.
- setContent(String) - Method in class com.gwidgets.api.leaflet.Popup
-
Sets the HTML content of the popup.
- setContent(HTMLElement) - Method in class com.gwidgets.api.leaflet.Popup
-
Sets the HTML content of the popup.
- setIcon(Icon) - Method in class com.gwidgets.api.leaflet.Marker
-
Changes the marker icon.
- setLatLng(LatLng) - Method in class com.gwidgets.api.leaflet.Circle
-
Sets the position of a circle to a new location.
- setLatLng(LatLng) - Method in class com.gwidgets.api.leaflet.CircleMarker
-
- setLatLng(LatLng) - Method in class com.gwidgets.api.leaflet.Marker
-
Changes the marker position to the given point.
- setLatLng(LatLng) - Method in class com.gwidgets.api.leaflet.Popup
-
Sets the geographical point where the popup will open.
- setLatLngs(LatLng[][]) - Method in class com.gwidgets.api.leaflet.MultiPolygon
-
Replace all polygons and their paths with the given array of arrays of geographical points.
- setLatLngs(LatLng[][]) - Method in class com.gwidgets.api.leaflet.MultiPolyline
-
Replace all lines and their paths with the given array of arrays of geographical points.
- setLatLngs(LatLng[]) - Method in class com.gwidgets.api.leaflet.Polyline
-
Sets the lat lngs.
- setMaxBounds(LatLngBounds, ZoomPanOptions) - Method in class com.gwidgets.api.leaflet.Map
-
Restricts the map view to the given bounds .
- setOpacity(Number) - Static method in class com.gwidgets.api.leaflet.ImageOverlay
-
Sets the opacity of the overlay.
- setOpacity(Number) - Method in class com.gwidgets.api.leaflet.Marker
-
Changes the zIndex offset of the marker.
- setOpacity(Number) - Method in class com.gwidgets.api.leaflet.TileLayer
-
Changes the opacity of the tile layer.
- setParams(TileLayerWMSOptions, Boolean) - Static method in class com.gwidgets.api.leaflet.WMS
-
Merges an object with the new parameters and re-requests tiles on the current screen (unless noRedraw was set to true).
- setPopupContent(String, PopupOptions) - Method in class com.gwidgets.api.leaflet.Marker
-
Sets an HTML content of the popup of this marker.
- setPopupContent(HTMLElement, PopupOptions) - Method in class com.gwidgets.api.leaflet.Marker
-
Sets an HTML content of the popup of this marker.
- setPosition(String) - Method in class com.gwidgets.api.leaflet.Control
-
Sets the position of the control.
- setPrefix(String) - Method in class com.gwidgets.api.leaflet.Attribution
-
Sets the text before the attributions.
- setRadius(Number) - Method in class com.gwidgets.api.leaflet.Circle
-
Sets the radius of a circle.
- setRadius(Number) - Method in class com.gwidgets.api.leaflet.CircleMarker
-
- setStyle(PathOptions) - Method in class com.gwidgets.api.leaflet.FeatureGroup
-
Sets the given path options to each layer of the group that has a setStyle method.
- setStyle(Function) - Method in class com.gwidgets.api.leaflet.GeoJSON
-
Changes styles of GeoJSON vector layers with the given style function.
- setStyle(PathOptions) - Method in class com.gwidgets.api.leaflet.Path
-
Changes the appearance of a Path based on the options in the Path options object.
- setUrl(String) - Method in class com.gwidgets.api.leaflet.TileLayer
-
Updates the layer's URL template and redraws it.
- setView(LatLng, Number, ZoomPanOptions) - Method in class com.gwidgets.api.leaflet.Map
-
Sets the view of the map (geographical center and zoom) with the given animation options.
- setView(Boolean) - Method in class com.gwidgets.api.leaflet.options.LocateOptions.Builder
-
If true, automatically sets the map view to the user location with
respect to detection accuracy, or to world view if geolocation
failed.
- setZIndex(Number) - Method in class com.gwidgets.api.leaflet.TileLayer
-
Sets the zIndex of the tile layer.
- setZIndexOffset(Number) - Method in class com.gwidgets.api.leaflet.Marker
-
Sets the Z index offset.
- setZoom(Number, ZoomOptions) - Method in class com.gwidgets.api.leaflet.Map
-
Sets the zoom of the map.
- setZoomAround(LatLng, Number, ZoomOptions) - Method in class com.gwidgets.api.leaflet.Map
-
Zooms the map while keeping a specified point on the map stationary (e.g.
- shadowAnchor(Point) - Method in class com.gwidgets.api.leaflet.options.IconOptions.Builder
-
The coordinates of the "tip" of the shadow (relative to its top left corner) (the same as iconAnchor if not specified).
- shadowRetinaUrl(String) - Method in class com.gwidgets.api.leaflet.options.IconOptions.Builder
-
The URL to the retina sized version of the icon shadow image.
- shadowSize(Point) - Method in class com.gwidgets.api.leaflet.options.IconOptions.Builder
-
Size of the shadow image in pixels.
- shadowUrl(String) - Method in class com.gwidgets.api.leaflet.options.IconOptions.Builder
-
The URL to the icon shadow image.
- shiftKey - Variable in class com.gwidgets.api.leaflet.elemental.DOMMouseEvent
-
- spliceLatLngs(Number, Number, LatLng) - Method in class com.gwidgets.api.leaflet.Polyline
-
Allows adding, removing or replacing points in the polyline.
- stopLocate() - Method in class com.gwidgets.api.leaflet.Map
-
Stops watching location previously initiated by map.locate({watch: true}) and aborts resetting the map view if map.locate was called with {setView: true}.
- stroke(Boolean) - Method in class com.gwidgets.api.leaflet.options.PathOptions.Builder
-
Whether to draw stroke along the path.
- stroke(Boolean) - Method in class com.gwidgets.api.leaflet.options.PolylineOptions.Builder
-
Whether to draw stroke along the path.
- style(JavaScriptObject) - Method in interface com.gwidgets.api.leaflet.options.GeoJSONOptions
-
Function that will be used to get style options for vector layers created for GeoJSON features.
- styles(String) - Method in class com.gwidgets.api.leaflet.options.TileLayerWMSOptions.Builder
-
Comma-separated list of WMS styles.
- subdomains(String[]) - Method in class com.gwidgets.api.leaflet.options.TileLayerOptions.Builder
-
Subdomains of the tile service.
- subtract(Point) - Method in class com.gwidgets.api.leaflet.Point
-
Returns the result of subtraction of the given point from the current.