Hi there, I'ts been a while that I have this idea in my head of making an interactive map by a plugin element which could offer polygonal interactive areas, kinda polygonal hotspots but in its plugin version. Right now I have three ideas for achieving this and I share them with you, they all involve the placement of the map as a plugin element and then the definition of the polygonal interactive area would be as follows:
1) Fill the interactive area with a grid of lots of transparent plugins and assigning them the same function, for example activating an overlapping plugin which display the interactive area illuminated.
PROS: Can be done with krpano right now
CONS: A hell of plugin accomodation, plugin saturation and also I'm not sure if this would work smooth for a map plugin with height/width percentage dependance (Ex. width="50%").
2) Overlap a .swf vector movie with a transparent object as a plugin, this would provide boundaries to the interactive area which could be used to activate another plugin (image plugin) with the specified area illuminated.
PROS: Much less plugin accomodation
CONS: Did some test and rendering is a little poor when this activates tweening of image plugin elements
3) Create the interactive map as a .swf movie, place it as a plugin element, get it to comunicate with krpano in some way. (kindda option 2 reloaded)
PROS: It's much easier to work on Adobe Flash this kind of map
CONS: Wouldn't work on HTML5 and I don't know right now how to get it to comunicate with krpano.
Tell me what you think fellow krpanoers, do you have any other ideas?
I think It would be nice in a future to have some options to specify areas in a plugin, specially for a map as in my case ¿what do you think Klaus?
Best Regards
Luis