You are here

Google Maps API - Upgrading to v3

I noticed recently that maps on my online birding database had stopped working. I thought “That is odd, I haven't updated that page in quite awhile and I think it was working last time I checked”. Upon further investigation, using the Javascript Console Developer tool in Google Chrome, I discovered that some functions I was using in API v2 were deprecated. Other simple maps I've made were still working but not the list of all locations within a given county. Here is an example of that page using Calvert County, Maryland.

I have to say that the prospect of having to upgrade to v3 from v2 when my code had been working fine for a long time was not something I was looking forward to, but I landed here and followed the instructions for “Obtaining an API Key”. It wasn't as bad as I feared. I actually still have a few other functions to upgrade but I got a working version in about 5 minutes.