The following works
 
    map = new OpenLayers.Map("map", {
        "allOverlays": true,
                "controls": [
                        new OpenLayers.Control.LayerSwitcher(),
                        new OpenLayers.Control.PanZoom()
                ]
    });
    
But the following doesn't

    map = new OpenLayers.Map("map", {
        "allOverlays": true,
                "controls": [
                        new OpenLayers.Control.LayerSwitcher(),
                        new OpenLayers.Control.ZoomIn(),
                        new OpenLayers.Control.ZoomOut()
                ]
    });
    
Neither the ZoomIn nor the ZoomOut controls draw. What am I doing wrong?


--
Puneet Kishor
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to