addRect

renders HTML area element with "rect" shape

void addRect(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.addRect("11", [10,10,  10,100,  100,100,  100,10], "serie1");

Back to top