Circle

HTML equivalent to L.circle function. Can be a child of l-map or l-layer-group elements.

Example

A standard way to initialise.

<l-circle lat-lng="[0,0]"></l-circle>

Parameters

Mandatory HTML properties to successfully instantiate.

AttributeExampleDescription
lat-lng[45, 45]LatLng position to define circle center location

Properties

AttributeTypeDescription
radiusnumber
strokebooleantrue
colorstring#3388ff
weightnumber3
opacitynumber1.0
lineCapstringround
lineJoinstringround
dashArraystringnull
dashOffsetstringnull
fillbooleantrue
fillColorstring#3388ff
fillOpacitynumber0.2
smoothFactornumber1.0
noClipbooleanfalse
interactivebooleantrue

Events

Event keyDetailDescription
l:layer:connectedTriggered when connected to the document