elshae wrote:
> 
> I'd also like to point out that the following example is not working for
> me either..
> 

There are several issues going on here...

1) You are trying to use Google v3 layers with OL v 2.9.1 and this is
currently only implemented in the development version
(http://openlayers.org/dev/OpenLayers.js).

2) Google v3 is automatically sphericalMercator, so you don't need to define
it.

3) "map.addLayers" expects an array- so you could do
either:map.addLayers([gsat]); or map.addLayer(gsat);

If you make these changes in your code- you should be all set.  Also, I
would highly recommend using Firefox & Firebug to help you figure out where
your JavaScript is giving you errors.

BRYAN


-----
Bryan R. McBride, GISP
http://www.bryanmcbride.com bryanmcbride.com 
http://geoserving.net/ geoserving.net 
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Geoserver-WMS-Layer-Does-Not-Display-tp5511643p5512279.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to