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
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.