@JsType(isNative=true) public class FeatureGroup extends LayerGroup
Modifier | Constructor and Description |
---|---|
protected |
FeatureGroup() |
Modifier and Type | Method and Description |
---|---|
L |
bringToBack()
Brings the layer group to the bottom of all other layers.
|
L |
bringToFront()
Brings the layer group to the top of all other layers.
|
LatLngBounds |
getBounds()
Returns the LatLngBounds of the Feature Group (created from bounds and coordinates of its children).
|
L |
setStyle(PathOptions style)
Sets the given path options to each layer of the group that has a setStyle method.
|
addEventParent, addLayer, addTo, bindPopup, bindPopup, bindTooltip, bindTooltip, bindTooltip, clearAllEventListeners, clearLayers, closePopup, closeTooltip, eachLayer, fire, getLayer, getLayerId, getLayers, getPane, getPopup, getTooltip, hasLayer, invoke, isPopupOpen, isTooltipOpen, listens, off, off, off, on, once, openPopup, openTooltip, remove, removeEventParent, removeFrom, removeLayer, removeLayer, setPopupContent, setPopupContent, setPopupContent, setTooltipContent, setTooltipContent, setTooltipContent, setZIndex, toGeoJSON, togglePopup, toggleTooltip, unbindPopup, unbindTooltip
@JsMethod public LatLngBounds getBounds()
@JsMethod public L setStyle(PathOptions style)
style
- the style@JsMethod public L bringToFront()
@JsMethod public L bringToBack()
Copyright © 2018 G-Widgets. All rights reserved.