1

In my OpenLayers map application I display many WMS layers from different sources. Some of them have display scale restrictions set by MinScaleDenominator and MaxScaleDenominator tags in WMS GetCapabilities.

What I want to achieve is to notify my application users to zoom in or zoom out to view particular layer.

How can I compare current map view zoom level to MinScaleDenominator and MaxScaleDenominator in OpenLayers?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.