Harry Wood


OpenStreetMap option in Google Maps API v2 (old)

Default to google maps, because most of your users are brainwashed into thinking Google Inc are the only ones who could possibly provide a decent map, BUT add the option to switch to a better map (top right) for those enlighted souls who prefer an editable open licensed map, and prefer and to support a not-for-profit project.

This is the old google maps API v2 which requires a google API key, and is deprecated, so you're unlikely to be following this example. This changes the credit text according to the selected layer, but we don't try to remove the google logo or the 'terms of use' link.

view directly