Documentation

addPoly

renders html map tag

void addPoly(id id,array points);

Parameters

ididid which will be assigned to related html section
pointsarrayarray of points

Example

map.addPoly("11", [10,10,  10,100,  100,100,  100,10]);

Back to top