Documentation

addRect

renders html map tag

void addRect(id id,array points, [string userdata] );

Parameters

ididid which will be assigned to related html section
pointsarrayarray of points
userdatastringextra data string ( used by series )

Example

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

Back to top