[OpenLayers-Users] layer outside of the resolutions are requested

maven apache apachemaven0 at gmail.com
Fri May 31 05:51:42 PDT 2013


Hi:

I add two layers to my map, and my map have a custom resolutions.

However one of the layer will work only at a certain resolution.

So I set its maxResolution attribute.

This is the example: http://jsfiddle.net/DtMTN/



As you can see I have two layers: city and place.

And the maxResolution of the city is resolutions[3].

So the city layer should not be considered until the zoom of the map get to
3.

But in my example, when the zoom of the map is set to 0.

The city layer is requested.

What is the problem?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20130531/f5507eef/attachment.html>


More information about the Users mailing list