new Ellipse(latlng, optionsopt) → {Ellipse}
Create a new ellipse marker with a shape that scales with zooming.
Parameters
-
latlng
leaflet.LatLng
World coordinates of the center of the marker.
-
options
object
<optional>
Options.
Properties
-
fill
boolean
<optional>
trueFill the ellipse?
-
fill
Returns
-
Ellipse
Instance of an ellipse.
Source
Methods
privatestatic
_project()
Project the marker to pixel coordinates.
Source
static
getBounds() → {leaflet.LatLngBounds}
Get the bounds of the ellipse in world coordinates.
Returns
-
leaflet.LatLngBounds
Boundary box in world coordinates.