<div>Adam,</div>
<div>&nbsp;</div>
<div>I think you need to be using the spherical mercator example.</div>
<div>&nbsp;</div>
<div><a href="http://www.openlayers.org/dev/examples/spherical-mercator.html">http://www.openlayers.org/dev/examples/spherical-mercator.html</a></div>
<div>&nbsp;</div>
<div>It shows this layer on the map.</div>
<div>&nbsp;</div>
<div>Linda<br><br></div>
<div class="gmail_quote">On Feb 8, 2008 3:04 AM, Adam Martin &lt;<a href="mailto:ajmartin.nz@gmail.com">ajmartin.nz@gmail.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi guys (Gals),<br>I am trying to integrate google layer into my code.. but getting<br>&quot;G_HYBRID_MAP is not defined&quot; - I have looked at the example files and<br>
can&#39;t see what i am doing wrong.<br>My code is:<br><br>&lt;script<br>src=&quot;<a href="http://maps.google.com/maps?file=api&amp;amp;v=2&amp;amp;key=ABQIAAAAtMNjJKdlzNOpMv5N7bI0wRSCLCxMNWkkK4j03YS7r0gx9Ss8NhRMBXQEt6coLX5gVwfc4_XCDByanA" target="_blank">http://maps.google.com/maps?file=api&amp;amp;v=2&amp;amp;key=ABQIAAAAtMNjJKdlzNOpMv5N7bI0wRSCLCxMNWkkK4j03YS7r0gx9Ss8NhRMBXQEt6coLX5gVwfc4_XCDByanA</a>&quot;<br>
type=&quot;text/javascipt&quot;&gt;&lt;/script&gt;<br>&lt;script defer=&quot;defer&quot; type=&quot;text/javascript&quot;&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp;var map = new OpenLayers.Map(&#39;maincontent&#39;);<br>&nbsp; &nbsp; &nbsp; &nbsp;var google = new OpenLayers.Layer.Google( &quot;Google&quot;, { type:<br>
G_HYBRID_MAP } );<br>&nbsp; &nbsp; &nbsp; &nbsp;map.addLayers([google]);<br>&nbsp; &nbsp; &nbsp; &nbsp;map.zoomToMaxExtent();<br>&nbsp; &nbsp;&lt;/script&gt;<br><br>Any help would be appreciated.<br>Cheers<br>Adam<br>_______________________________________________<br>Users mailing list<br>
<a href="mailto:Users@openlayers.org">Users@openlayers.org</a><br><a href="http://openlayers.org/mailman/listinfo/users" target="_blank">http://openlayers.org/mailman/listinfo/users</a><br></blockquote></div><br><br clear="all">
<br>-- <br>Linda Rawson