Hi,
OpenLayers has 2 difetent layer types - Base Layers and Overlays.

The restriction of base layer is that only one can be shown.

If you want to display those layers as Overlays you should add extra options
while you are adding your layer:

Add this to your layer:
isBaseLayer: false

Eg:
var GoogleStreet = new OpenLayers.Layer.OSM("Google Street", 
              ["http://mt1.google.com/vt/x=${x}&y=${y}&z=${z}";], {
numZoomLevels: 23, 
              sphericalMercator: true,transitionEffect: 'resize',
isBaseLayer: false }); 



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Kaliopa-mobile-viewer-with-google-maps-as-base-layer-tp5212543p5214199.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to