[OpenLayers-Users] Google Maps not working

M_Airola mairola at gmail.com
Thu Mar 4 09:02:54 EST 2010


Try this:
	            var gmap = new OpenLayers.Layer.Google("G_PHYSICAL_MAP",
					{ sphericalMercator: true,
                                        isBaseLayer: true} );

and don't forget the Javascript at the beginning:
		    <script
src='http://maps.google.com/maps?file=api&amp;v=2&amp;key=INSERT_YOUR_KEY_HERE'
type='text/javascript'></script>


Good luck,
Matt
-- 
View this message in context: http://n2.nabble.com/Google-Maps-not-working-tp4660612p4674406.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.



More information about the Users mailing list