Skip to content

polygon element

stefano edited this page Jan 29, 2017 · 9 revisions

This is the polygon element

at this time it doesn't support holes and multipolygons

parameters and predefined values

parameters type default values description
latlngs Input [[52.65, -1.2],[52.645, -1.15], [52.696, -1.155], [52.697, -1.189]]
mouseover Input
onclick Input
Options Input leaflet's default
polygon Internal used for element updates
originalObject Internal used for element updates
globalId Internal Unique Identifier

this element implements the following pattern for popup content

examples

<polygon-element [latlngs]="[[52.65, -1.2],[52.645, -1.15], [52.696, -1.155], [52.697, -1.189]]">
</polygon-element>
Clone this wiki locally