@JsType(isNative=true) public class MultiPolygon extends FeatureGroup
Modifier and Type | Method and Description |
---|---|
LatLng[][] |
getLatLngs()
Returns an array of arrays of geographical points in each polygon.
|
L |
openPopup()
Opens the popup previously bound by bindPopup.
|
L |
setLatLngs(LatLng[][] latlngs)
Replace all polygons and their paths with the given array of arrays of geographical points.
|
com.google.gwt.core.client.JavaScriptObject |
toGeoJSON()
Returns a GeoJSON representation of the multipolygon
|
bindPopup, bringToBack, bringToFront, clearAllEventListeners, fire, getBounds, off, on, onAdd, once, onRemove, setStyle
@JsMethod public L setLatLngs(LatLng[][] latlngs)
latlngs
- the latlngs@JsMethod public LatLng[][] getLatLngs()
@JsMethod public L openPopup()
@JsMethod public com.google.gwt.core.client.JavaScriptObject toGeoJSON()