Hi,
     Geotools rocks! i jus have a small issue. I am displaying multiple
shapefiles. I am adding shapefile layer to MapContext on some event. and
removing the layer also on some event. But the problem is the layer doesnt
get removed. it gets removed on panning or again doing the event.
 I m using 
 map.addLayer(layer); // for adding the layer
  where layer is a MapLayer and map is the instance of DefaultMapContext.

and map.removeLayer(layer); // for removing the layer

and one more thing.. on Panning the Map flickers a lot...



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Map-flickers-on-panning-tp5024499.html
Sent from the geotools-gt2-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to