Posts Tagged ‘map’
Show World Countries – using SVG, JSONP, JQuery
A simple application that displays 213 countries and islands of the world with a search option.
Works with latest version of Chrome, Firefox, Safari, Opera and Internet Explorer.
With dropdown and search option
http://world.kunuk.dk
The SVG file only
http://world.kunuk.dk/WorldCountries.svg
The app is one HTML and SVG file. The HTML uses JQuery.
The list of countries are extracted to HTML from the SVG file using javascript. The DOM of the SVG is updated from the HTML to the SVG (hope this makes sense). The country information is extracted using Ajax with JSONP format and JQuery.
I got the inspiration when I saw this game made in SVG http://files.myopera.com/orinoco/svg/WorldCountries.svg
Now you have a tool to cheat the game
