[OpenLayers-Users] Google Layer in OLayers
Kalyan Kamepalli
kalyan.kamepalli at gmail.com
Thu Jul 22 22:33:46 EDT 2010
My apologies. By mistake I hit enter and it sent out with incomplete details
In my previous mail, it complains G_SATELLITE_MAP is not an object.
Could some one suggest me on how to use google satellite or other layers in
Open Layers please.
Thanks,
Kalyan
On Fri, Jul 23, 2010 at 12:30 PM, Kalyan Kamepalli <
kalyan.kamepalli at gmail.com> wrote:
> 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<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/02ca1062/attachment.html
More information about the Users
mailing list