[OpenLayers-Users] WFS layer data extent and loading strategies

Eric Lemoine eric.lemoine at camptocamp.com
Wed May 18 02:24:52 EDT 2011


On Tuesday, May 17, 2011, Favre, Sebastien <Sebastien.Favre at spotimage.fr> wrote:
> Eric,
>
> I confirm that when there is no feature of the layer in current map extent, getDataExtent() returns NULL (BBOX strategy) !
> Once there is at least 1 feature of the layer in current map extent, getDataExtent() returns the good value.

And what is the problem with that? What do you expect?

As I said getDataExtent gives the extent of the data, so if no data
then no extent.

-- 
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 Users mailing list