Google Maps has given us another way to include a map into our sites without either the JavaScript API or the iframe tag (which some people eschew due to the idea that it can be used to effect a cross-site scripting attack or to use a strict or transitional document type for HTML 4.01 or XHTML 1.0).

The new way to add a Google Map to your site uses the very standard and very accepted image tag. Google has provided nice, full documentation for the new method.

A Google Maps API key is still needed, but this gives web developers one more tool in their arsenal to display geographic information without JavaScript (which is turned off in some browsers to prevent hacking, attacks, and unwanted advertisements) or the iframe tag. By doing so, we can share geographic information in a visual way with more people than we could before.

This post has been cross-posted to the new site which is coming soon.

Labels: ,