[OpenLayers-Users] zoomToScale(); free extent

Andreas Hocevar andreas.hocevar at gmail.com
Sat Jan 26 05:48:19 EST 2008


Hi,

you can find a pach at http://trac.openlayers.org/ticket/1243 that
enables you to do this. Note that there is still ongoing discussion
about this patch, so if it works for you that is ok, but be prepared
that this is subject to change.

Regards,
Andreas.

On Jan 26, 2008 11:08 AM, Maik Finsterbusch <mfinsterbusch at codematix.de> wrote:
> hi out there,
>
> i want to get a specific scale (eg. 1:2000), so i call zoomToScale(2000);
> but openlayers finds only its scale (or extent) list, because  of its
> numberofzoomlevels automaticly calculated scales (or extent).
>
> thats damn, because i must have 1:2000;
>
> anyway out there?
>
> best regards and a nice weekend.
>
> maik darkwood.



More information about the Users mailing list