[Tilecache] Resolution problems

Tyler Durden tylersticky at gmail.com
Fri Jul 6 06:14:56 EDT 2007


I just want to do a  map.zoomToMaxExtent(); and show map in full size.

On 7/6/07, Tyler Durden <tylersticky at gmail.com> wrote:
> 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