<div>Adam,</div>
<div> </div>
<div>I think you need to be using the spherical mercator example.</div>
<div> </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> </div>
<div>It shows this layer on the map.</div>
<div> </div>
<div>Linda<br><br></div>
<div class="gmail_quote">On Feb 8, 2008 3:04 AM, Adam Martin <<a href="mailto:ajmartin.nz@gmail.com">ajmartin.nz@gmail.com</a>> 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>"G_HYBRID_MAP is not defined" - I have looked at the example files and<br>
can't see what i am doing wrong.<br>My code is:<br><br><script<br>src="<a href="http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAAtMNjJKdlzNOpMv5N7bI0wRSCLCxMNWkkK4j03YS7r0gx9Ss8NhRMBXQEt6coLX5gVwfc4_XCDByanA" target="_blank">http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAAtMNjJKdlzNOpMv5N7bI0wRSCLCxMNWkkK4j03YS7r0gx9Ss8NhRMBXQEt6coLX5gVwfc4_XCDByanA</a>"<br>
type="text/javascipt"></script><br><script defer="defer" type="text/javascript"><br> var map = new OpenLayers.Map('maincontent');<br> var google = new OpenLayers.Layer.Google( "Google", { type:<br>
G_HYBRID_MAP } );<br> map.addLayers([google]);<br> map.zoomToMaxExtent();<br> </script><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