Interesting, well the label cache is responsible for collecting all the labels 
during a rendering run. Put in some break points and see if: 
a) Is it being called twice?
b) Did it just remember the labels "from last time"? try clearing it after 
add/removing a layer as a fix.

-- 
Jody Garnett


On Wednesday, 10 April 2013 at 2:17 PM, Boided wrote:

> Can anyone make out what the issue could be? i am stuck over this :(
> 
> 
> 
> --
> View this message in context: 
> http://osgeo-org.1560.x6.nabble.com/AddLayer-method-gives-problem-tp5044456p5045685.html
> Sent from the geotools-gt2-users mailing list archive at Nabble.com 
> (http://Nabble.com).
> 
> ------------------------------------------------------------------------------
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
> _______________________________________________
> GeoTools-GT2-Users mailing list
> [email protected] 
> (mailto:[email protected])
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
> 
> 


------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to