 <p>You're mixing up Google Maps API 2 and API 3 code.<br> Remove the v=2 parameter or change it to v=3 (or v=3.5 for instance). </p> <p>Change this: sensor=truese to either sensor=true or sensor=false</p> <p>Remove the API key, that's only required for API 2.</p> <p>Get rid of all the GMap2, GLatLng type of code that is for API 2 and change it all to be in API 3 syntax.</p>