addRect

renders HTML area element with "rect" shape

void addRect(id id,array points, [string userdata] );
id
idid which will be assigned to related HTML section points
arrayarray of points userdata
stringextra 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.