I'm searching for open source implementation of world map for HTML5 Canvas or any JS library. I need simple vector world map with landscape and zoom. It would be good if it works on iOS/Android/BB OS.
http://cartagen.org/ too redundant for me.
I'm searching for open source implementation of world map for HTML5 Canvas or any JS library. I need simple vector world map with landscape and zoom. It would be good if it works on iOS/Android/BB OS.
http://cartagen.org/ too redundant for me.
SVG would probably be easier to implement. I would look in to Raphael JS
Here is a relevant example of what raphael JS can do and how little code it takes
SVG world map definitions can be found numerous places, including Wikipedia, they shouldn't be too hard to search for.
jVectorMap (http://jvectormap.com/) is a jQuery plugin that has built-in zooming and a nice world map example with an extensible events API and customization options. It uses SVG in all modern browsers like Firefox 3 or 4, Safari, Chrome, Opera, IE9, while offering legacy support for older versions of IE from 6 to 8 with VML. Really easy to use.
Simon is right that Raphael.js is a good bet. Check out their world example at: http://dmitrybaranovskiy.github.io/raphael/
If you are looking for something built on Raphael, but with zooming/locations, a commercial option is: http://simplemaps.com/world
I've found solution. Google Maps supports customization of water and landscape colors:
http://code.google.com/apis/maps/documentation/javascript/maptypes.html#StyledMaps
Wizard:
https://google-developers.appspot.com/maps/documentation/embed/wizard/