[OpenLayers-Dev] addOptions and redraw

Eric Lemoine eric.lemoine at camptocamp.com
Wed Apr 11 10:26:31 EDT 2012


On Wed, Apr 11, 2012 at 3:48 PM, Bart van den Eijnden
<bartvde at opengeo.org> wrote:
> Hey Eric,
>
> right, what I am doing now is calling display in the following way:
>
> layer.display(layer.calculateInRange());
>
> but it feels a bit weird to do it this way.


Yes, that's ugly. We really provide a better way to handle your case.



-- 
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