addPoly

renders HTML area element with "poly" shape

void addPoly(id id,array points, [string userdata] );
ididid which will be assigned to related HTML section
pointsarrayarray of points
userdatastringextra data string (used by chart series)

Example

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

Back to top