[Tilecache] Resolution problems

Tyler Durden tylersticky at gmail.com
Fri Jul 6 06:07:00 EDT 2007


I'm having problems with the resolution of a map, the only way that I
can show the full size of my map is using setCenter() with lon,lat and
a zoom of 12.
Basically I want to show the full map in zoom 1.

map = new OpenLayers.Map('map', {maxResolution: 1.40625/2});
map.setCenter(new OpenLayers.LonLat(lon, lat), 12);

There is a way to define the max zoom out of a map, by defining a
bounding box or what else?

Thanks,
Tyler



More information about the Tilecache mailing list