Hi
I can't get the javascript API for Polygon Hotspots to work:
(I've attached a test package so you can take a look. Hover over the buttons to see what they do)
These:
pano.showOnePolyHotspot(id:String)
pano.hideOnePolyHotspot(id:String)
pano.toggleOnePolyHotspot(id:String)
seem simple, but don't work as I would have expected. The poly hotspot just flashes.
And:
pano.changePolyHotspotColor(id:String, bgColor:Number, bgAlpha:Number, borderColor:Number, borderAlpha:Number)
I also can't get to work, possibly because I'm unsure of the arguments.
Thanks
John
polygon hostpot javascript API problems
- Attachments
-
- polytest.ggpkg
- (281.33 KiB) Downloaded 136 times