Entries Categorized as 'googlemaps'

How to Load and Unload Google Maps Without Using the BODY Tag

Date July 6, 2007

I recently ran into a situation where I wanted to display a google map on a single page of a CMS website. The CMS uses a standard header for all pages which renders an identical BODY tag for all pages of the site.
Since the google map is only present on one page of the site, […]

Automatically Switch Your Google Maps API Key To The Correct Environment Using PHP

Date June 26, 2007

The Google Maps API requires a unique key for each domain where maps will be rendered. This means the key you generate for your production environment won’t work on dev or qa (assuming your dev and qa environments are not served from within your production root).
I typically do my dev work locally, push changes to […]