We are trying to change color of a specific poly hotspot with id="02" by making an API call. However, it doesn't work. Can you please help ?
This is the code we are trying to use
Code: Select all
function changeColor(){
obj.changePolyHotspotColor("02", 0x0E6D6E, 0.5, 0x2A1C74, 1);
}
Please help. Thank you