[OpenLayers-Users] Google Layer in OLayers
Kalyan Kamepalli
kalyan.kamepalli at gmail.com
Thu Jul 22 22:30:38 EDT 2010
Hello Group,
I want to include google satellite layer in OpenLayers along with my other
layers. I tried as it said in the examples. I defined a layer like the
below
var gsat = new OpenLayers.Layer.Google(
"Google Satellite",
{type: G_SATELLITE_MAP, numZoomLevels: 22}
);
I also included Google API as suggested in example
<script src='
http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAjpkAC9ePGem0lIq5XcMiuhR_wWLPFku8Ix9i2SXYRVK3e45q1BQUd_beF8dtzKET_EteAjPdGDwqpQ
'></script>
after both the above lines added to my layers definitions, it complained
that G_SATELLITE_MAP
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100723/b839662d/attachment.html
More information about the Users
mailing list