Bart,
I don't set a list of fixed scales / resolutions and I have now set the
fractionalZoom and everything is now sorted and working ok.
Thanks
Andrew
On 17 March 2010 09:38, wrote:
> Hi,
>
> how is your map instantiated? With a fixed set of scales/resolutions?
>
> Or are you using fractiona
Hi,
how is your map instantiated? With a fixed set of scales/resolutions?
Or are you using fractionalZoom: true in your map config?
Best regards,
Bart
> All,
>
> I'm using OpenLayers (latest trunk version) with GeoServer 2.0.1 to
> display
> various layers which have scale rules defined on them
Hi,
Thanks for your help, that is correct I was using a WMS without any fixed
resolution / cached layers.
Adding the code you suggested resolved this issue.
Many thanks
Andrew
On 17 March 2010 13:01, Mapmaker wrote:
>
> If you are using WMS without fixed-resolution or cached layers, you migh
If you are using WMS without fixed-resolution or cached layers, you might
want to try adding the following:
map.fractionalZoom = true;
--
View this message in context:
http://n2.nabble.com/zoomToScale-Issue-tp4749135p4750026.html
Sent from the OpenLayers Users mailing list archive at Nabble.com
All,
I'm using OpenLayers (latest trunk version) with GeoServer 2.0.1 to display
various layers which have scale rules defined on them within the GeoServer
SLD (i.e. MaxScaleDenominator and / or MinScaleDenominator).
I initially found that the scale in OpenLayers didn't match that in
GeoServer bu