I am using OpenLayers and TileCache (mod_python), and the only way I've gotten them to work together is by defining the same resolutions in both. These resolutions are defined in the overview map as well, which I just want to be a static, full extent/global map. My overview map is currently zoomed too far in on the map center, and from this post:
http://www.nabble.com/OverviewMapControl-config-tips--to14598136.html#a14601624 it sounds like the issue is resolution. However when I change the resolution values in TileCache or OpenLayers the map stops working. I've tried using maxResolution as well, without luck. OL: var options = {controls:[], maxExtent:new OpenLayers.Bounds(-180, -90, 180, 90), resolutions: [0.3515625,0.17578125,0.087890625,0.0439453125,0.02197265625,0.010986328125,0.0054931640625,0.00274658203125,0.001373291015625, 0.0006866455078125,0.00034332275390625,0.000171661376953125,0.0000858306884765625,0.00004291534423828125], restrictedExtent:new OpenLayers.Bounds(-180, -90, 180, 90)} var ovOptions = {mapOptions:{numZoomLevels:1, maxExtent:new OpenLayers.Bounds(-180, -90, 180, 90), resolutions: [0.3515625,0.17578125,0.087890625,0.0439453125,0.02197265625,0.010986328125,0.0054931640625,0.00274658203125,0.001373291015625, 0.0006866455078125,0.00034332275390625,0.000171661376953125,0.0000858306884765625,0.00004291534423828125], maxResolution:1}} var map = new OpenLayers.Map('map', options); var ovm = new OpenLayers.Control.OverviewMap(ovOptions); map.addControl(ovm); TC: [basic] type=WMS url= http://geomap.ucsd.edu/cgi-bin/mapserv?map=/var/www/html/maps/tileCacheWMS.map& layers=worldCountriesPolys,mexico_states_poly,mexico_states_line,us_states_poly,us_states_line bbox=-180, -90, 180, 90 resolutions=0.3515625,0.17578125,0.087890625,0.0439453125,0.02197265625,0.010986328125,0.0054931640625,0.00274658203125, 0.001373291015625,0.0006866455078125,0.00034332275390625,0.000171661376953125,0.0000858306884765625,0.00004291534423828125 maxResolution=1
_______________________________________________ Users mailing list Users@openlayers.org http://openlayers.org/mailman/listinfo/users