Hi.
I'm looking to create a "Countries You've Visited" map - just like the ones you've probably seen on Facebook, TravelAdvisor and whatnot.
I've tried different flash kits, but they're not quite as advanced as I'd like them to be. The main problem I've encountered with all the different kits is changing the background color on a country when you click on it and have it keep that color when you "deselect" it. This is obviously necessary to give the user some visual feedback.
The only way I've managed to do this so far is to initialize the flash through javascript with a huge XML string, have a click callback that interacts with Javascript, and with javascript alter the XML string using regular expressions, then send back the XML to the flash. It's pretty obvious that this method is FAR from optimal, and also very, very slow.
I've tried FusionMaps, amMap, AnyMaps and diyMap and so far I've not found any way of doing this with either of them. If anyone has done anything similar with either of these, I'd really to know how :-)
Does anyone have any pointers or suggestions on what I should look at? I'm starting to think that it would be a simpler (though less flexible) to just use the free SVG continent maps on Wikipedia, convert them to PNG and create an image map of all the countries - then use Canvas and VML to draw an element on top of the countries - but this just seems like a huge pain and very error-prone compared to a flash solution.
Thanks for reading, and I hope someone has some pointers for me :-)
- Mr. Doom