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] );
ididid which will be assigned to related HTML section
aplha0numberstarting angle
aplha1numberending 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