addSector

renders HTML area element with "poly" shape

void addSector(id id,number aplha0,number aplha1,number x,number y,number R,number ky, [string userdata] );
id
idid which will be assigned to related HTML section aplha0
numberstarting angle aplha1
numberending angle xnumberx position of center ynumbery position of center Rnumberradius kynumbery-scaling factor userdatastringextra data string (used by chart series)

Example

map.addSector("12", 0, Math.PI/2, 100,100, 50, 1);

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.