[OpenLayers-Dev] Re: OpenLayers 2.11 loading layer data regardless of maxResolution

Eric Lemoine eric.lemoine at camptocamp.com
Fri May 11 18:00:53 EDT 2012


On Thu, May 10, 2012 at 1:02 AM, Ruben Schoenefeld
<rschoenefeld at utah.gov> wrote:
>
> erilem wrote
>>
>> Thanks for the examples and detailed explanations.
>>
>> I think the problem was introduced by [*}. With this commit the BBOX
>> strategy listens to "visibilitychanged" on the layer and
>> unconditionally updates the layer when this event is triggered. So if
>> the layer is invisible and out-of-range, when it's made visible the
>> strategy updates the layer even though it's out of range. It would be
>> good to have someone write a patch for that.
>>
>> [*]
>> &lt;https://github.com/openlayers/openlayers/commit/afb80bfe4899e9ffd3962bd0adcc82019647717d&gt;
>>
>>
>>
>> --
>> Eric Lemoine
>>
>> Camptocamp France SAS
>> Savoie Technolac, BP 352
>> 73377 Le Bourget du Lac, Cedex
>>
>> Tel : 00 33 4 79 44 44 96
>> Mail : eric.lemoine@
>> http://www.camptocamp.com
>> _______________________________________________
>> Dev mailing list
>> Dev at .osgeo
>> http://lists.osgeo.org/mailman/listinfo/openlayers-dev
>>
>
> Hi Eric -
>
> Great that you were able to track it down to that particular change. How
> does one go about getting someone to write a patch for it? Would you say
> that OpenLayers 2.11 is actually doing something wrong or am I interpreting
> it wrong or using it wrong?

It's a bug in 2.11 and 2.12.

>  I just went to the OpenLayers page and found a
> way to submit a ticket, after signing up. Is that something I should be
> doing or might somebody already look into this based on the mailing list
> exchange on this topic?

You can start by creating an issue here:
https://github.com/openlayers/openlayers/issues. A pull request fixing
the problem would be very welcomed!



-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com


More information about the Dev mailing list