Samples
Forum
Support
Documentation
addPoly
addRect
addSector
render
Start
API Reference
Mixins
HtmlMap
Methods
addPoly
renders html map tag
void
addPoly
(
id
id
,
array
points
);
Parameters
id
id
id which will be assigned to related html section
points
array
array of points
Example
map.
addPoly
(
"11"
,
[
10
,
10
,
10
,
100
,
100
,
100
,
100
,
10
]
)
;
Back to top