Reputation: 12005
I've had an illustrated sitemap designed for a holiday resort. It's has multiple areas that when you roll over highlight and display a information box with some info about the item that you're currently over.
The highlighted areas have a slightly different bitmap than the orignal underlying map so using a map highlight library is not an option.
When the user mouses over an area it needs to display an image overlaid as well as the info box.
The areas are not square and some highlighted items are split into multiple areas.
What is the best approach to building an interactive map like this, should I use HTML imagemap with some JS or is there a more modern approach?
Upvotes: 0
Views: 1857
Reputation: 75707
One alternative would be SVG, perhaps using jquery.svg or Raphaël. Have a look at these examples:
The benefits of SVG are:
Upvotes: 2