@JsType(isNative=true) public class Circle extends Path
Modifier and Type | Method and Description |
---|---|
LatLng |
getLatLng()
Returns the current geographical position of the circle.
|
java.lang.Number |
getRadius()
Returns the current radius of a circle.
|
L |
setLatLng(LatLng latlng)
Sets the position of a circle to a new location.
|
L |
setRadius(java.lang.Number radius)
Sets the radius of a circle.
|
com.google.gwt.core.client.JavaScriptObject |
toGeoJSON()
Returns a GeoJSON representation of the circle (GeoJSON Point Feature).
|
addTo, bindPopup, bindPopup, bindPopup, bringToBack, bringToFront, clearAllEventListeners, closePopup, fire, getBounds, off, on, once, openPopup, redraw, setStyle, unbindPopup
@JsMethod public LatLng getLatLng()
@JsMethod public java.lang.Number getRadius()
@JsMethod public L setLatLng(LatLng latlng)
latlng
- the latlng@JsMethod public L setRadius(java.lang.Number radius)
radius
- the radius@JsMethod public com.google.gwt.core.client.JavaScriptObject toGeoJSON()