I'm working on a project that requires an interactive map. I want to use an SVG document with some custom javascript code embedded in it much like this developer has done:
http://treeblurb.com/xmap/svg/melbourne_central.svg
Achieving what I want to do is trivial but I can't tell which browsers would support this level of interaction. Essentially I need to:
- Embed custom script tags into the document.
- Adjust attributes of nodes (i.e. fill)
- Add mouse events to specific elements.
I guess my question is - if a browser supports native SVG, would it allow me to do all of these things?