With wordpress.com I can not use any JavaScript in my posts. This may be for sensible reasons, but it does make it difficult for me to put a map in a post using one of the Web Mapping APIs. However help is at hand using the Multimap Static Map API. Using this I can easily add a map in my post with no JavaScript like this:
To do so all I need to do is insert an image and set the src to a URL with the required parameters. In this case it is:
http://clients.multimap.com/API/map/1.2/[your_api key]?qs=Fleet%20Street&countryCode=GB
It is that simple!
You can also use Windows Live Writer to insert a Live Map into a blogpost.
Static Maps are often used for “Graceful Degradation“, where a page uses the JavaScript Multimap API and then falls back to using Static Maps if the browser has JavaScript turned off (or the browser is unsupported). See this Documented Example for details on how to do this.
It is also possible to use Static Maps for Progressive Enhancement. More on this later….
