So, you need a map of the United States to post on your blog or website. You don't need anything fancy, but you want to change the color of some states. Maybe, you're covering the presidential election and you want to post a prediction of what states will go Republican (red), Democrat (blue), and Independent (green). Ignoring the complexity of those states that split electoral votes (like Nebraska) what is the quick easy way to make this map?
The answer is using a Scalable Vector Graphics (SVG) file. You can check out the wikipedia entry here. First of all SVG files are vectors which can be resized without any distortions. More importantly an SVG file describes pictures using only text. So the area of Texas is described to your browser using a long string of coordinates. In an SVG file the color of each object is defined by a simple tag. This makes editing SVG files really simple. You don't need to own any software (although free software makes editing SVG's much easier). You can just open the file using a text editor and manually change the colors. SVG files have other cool features like letting you have each object act as a link.
SVG files have a lot going for them. It took a while for them to gain traction because Internet Explore (surprise, suprise) didn't support them until IE9+. If you want to support legacy browser, you can use SVG to customize your map, but then use a program to save the SVG file in another format like .png.
Let's do a quick example.
Download this blank USA map. It is an SVG file:
Open the map using a text editor.
The code for Kansas will look something like this:
Open the map in a modern browser. It will look like this:
To speed up the process of editting a map you should use program with a graphical interface. Inkscape is a free vector graphics program that will allow you to open up SVG files like the one blank US map. Changing the colors of each state is as easy as clicking on each state and choosing a color. When your done you can save the file as whatever type of image you like.
© Simplemaps.com 2010-2015 | License | Privacy Policy | Releases | Testimonials | Resources | Documentation
Deprecated Maps: Flash USA Map | Flash World Map | Flash Canada Map | Flash Europe Map | Flash Congress Map
Formerly FlashUSAmap.com and Flashworldmap.com