Skip to content

circle element

stefano edited this page Jan 29, 2017 · 9 revisions

This is the circle element

parameters and predefined values

parameters type default values description
lat Input 52.6
lon Input -1.1
radius Input 20
mouseover Input
onclick Input
Options Input leaflet's default

this element implements the following pattern for popup content

examples

with lat lon and default options inherited from path

<circle-element [lat]=52.65 [lon]=-1.15>
popup text
</circle-element>

with lat lon and overriden color property from the default options inherited from path

<circle-element [lat]=52.63 [lon]=-1.13 [radius]=180 [Options]="{color:'#576887'}">
</circle-element>

Clone this wiki locally