<div dir="ltr"><font color="#3333ff"><font size="2"><font face="georgia,serif">Hello Group, </font></font></font><div><font color="#3333ff"><font size="2"><font face="georgia,serif"><br></font></font></font></div><div><font color="#3333ff"><font size="2"><font face="georgia,serif">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 </font></font></font></div>

<div><font color="#3333ff"><font size="2"><font face="georgia,serif"><br></font></font></font></div><div><font color="#3333ff"><font size="2"><font face="georgia,serif"><div>var gsat = new OpenLayers.Layer.Google(</div><div>

                &quot;Google Satellite&quot;,</div><div>                {type: G_SATELLITE_MAP, numZoomLevels: 22}</div><div>            );</div></font></font></font></div><div><font color="#3333ff"><font size="2"><font face="georgia,serif"><br>

</font></font></font></div><div><font color="#3333ff"><font size="2"><font face="georgia,serif">I also included Google API as suggested in example </font></font></font></div><div><font color="#3333ff"><font size="2"><font face="georgia,serif"><br>

</font></font></font></div><div><font class="Apple-style-span" color="#3333FF" face="georgia, serif">&lt;script src=&#39;<a href="http://maps.google.com/maps?file=api&amp;amp;v=2&amp;amp;key=ABQIAAAAjpkAC9ePGem0lIq5XcMiuhR_wWLPFku8Ix9i2SXYRVK3e45q1BQUd_beF8dtzKET_EteAjPdGDwqpQ">http://maps.google.com/maps?file=api&amp;amp;v=2&amp;amp;key=ABQIAAAAjpkAC9ePGem0lIq5XcMiuhR_wWLPFku8Ix9i2SXYRVK3e45q1BQUd_beF8dtzKET_EteAjPdGDwqpQ</a>&#39;&gt;&lt;/script&gt;</font></div>

<div><font class="Apple-style-span" color="#3333FF" face="georgia, serif"><br></font></div><div><font class="Apple-style-span" color="#3333FF" face="georgia, serif">after both the above lines added to my layers definitions, it complained that G_SATELLITE_MAP</font></div>

</div>