Hi Benoît,

As I understand it, the getLayerBounds method just delegates the query
to your feature source which should implement the getBounds method.
Is there a problem there ?

Michael

2008/12/3 Benoît Thiébault <[EMAIL PROTECTED]>:
> ), but I get a null pointer exception when trying to access
> map.getLayerBounds().
> The only layer of my map is build like this :
> map.addLayer(featureSource, style).
>
> It's true I never explicitely defined the layer boundaries...
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-gt2-users mailing list
Geotools-gt2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to