[OpenLayers-Users] convert scale to zoom level

Jacolin Yves yjacolin at free.fr
Thu Jun 14 04:24:33 EDT 2007


Thanks Erik, I managed this by using the scale array.

Y.
Le Wednesday 13 June 2007 17:53:15 Erik Uzureau, vous avez écrit :
> Hello Jacolin,
>
> Maybe this will help you:
> http://trac.openlayers.org/wiki/SettingZoomLevels
>
> --Erik
>
> On 6/1/07, Jacolin Yves <yjacolin at free.fr> wrote:
> > Hi,
> >
> > I am trying to zoom to a zoom level but I got only a max (or min) scale.
> > Is it
> > possiblie to get the zoom level for each scale ?
> >
> > I thank using my scale array but my scale doesn't match the scale array
> > content. Do I need to write a special function using the initial scale
> > array
> > and find the closer zoom level?
> >
> > Sorry if I am not clear :-/
> >
> > Regards,
> >
> > Y.
> > --
> > Yves Jacolin
> > ---
> > http://softlibre.gloobe.org
> > _______________________________________________
> > Users mailing list
> > Users at openlayers.org
> > http://openlayers.org/mailman/listinfo/users



-- 
Yves Jacolin
---
http://softlibre.gloobe.org



More information about the Users mailing list