Is there anyway for me to prevent the overview map to pan when moving my
actual map? I don't really see why the overview map would need to pan.. just
zoom in/out and show the rectangle at the proper location.. can I disable
the pan somehow? Appreciate any advice on how to accomplish this - here is
my overview map code.

function addOverview() {
                var controlOptions = {
                    div: Ext.get('overviewmap'),
                    mapOptions: {maxResolution: 210, 
                    minResolution: 210,
                    numZoomLevels: 1},
                    layers: [layer_Overview.clone()]
                };
                var overview = new
OpenLayers.Control.OverviewMap(controlOptions);
                map.addControl(overview);
            };

 var layer_Overview = new OpenLayers.Layer.WMS("Overview Map Layers",
"http://localhost/WebServices/Request.aspx";,
                    {
                        layers: ['OVERVIEW_County',
'OVERVIEW_City_Boundaries', 'OVERVIEW_Roads', 'OVERVIEW_river',
'OVERVIEW_Roads_Highways'],
                        VERSION: "1.1.1"
                    },
                    { isBaseLayer: true,
                      displayInLayerSwitcher: false,
                      singleTile: true,
                      buffer: 1,
                      ratio: 1
                    }
                    
                );     
                layer_Overview.setOpacity(0.8);
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Overview-Map-don-t-pan-tp5875120p5875120.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