VisiOmatic web client

Class

Ellipse

Extends

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>
      true

      Fill the ellipse?

Returns

  • Ellipse

    Instance of an ellipse.

Source

Methods

static

getBounds() → {leaflet.LatLngBounds}

Get the bounds of the ellipse in world coordinates.

Returns

  • leaflet.LatLngBounds

    Boundary box in world coordinates.

Source