Re: [Geotools-gt2-users] No Repaint of MapPane on manipulating the layer

2014-04-04 Thread Jody Garnett
We removed FeatureCollection events, events are now only issued at the feature source level - and even then not all implementations do a good job. So please test and let us know how it goes? Note you will have to add new points using featureStore addFeatures in order to use the API correctly.

[Geotools-gt2-users] No Repaint of MapPane on manipulating the layer

2014-04-03 Thread fmd85
Hi, I am currently trying to add/delete features on a feature layer and display them on a JMapFrame. It works fine, but the MapPane doesn't repaint on adding new features to the collection. I've read on this forum (1) that there should be a chain of events from the FeatureCollection to the

Re: [Geotools-gt2-users] No Repaint of MapPane on manipulating the layer

2014-04-03 Thread Michael Bedward
Hello Florian, There did used to be such a chain of events which JMapPane took advantage of, but it was unfortunately dropped some time ago when the feature collection classes were reworked. The following thread may be helpful:

Re: [Geotools-gt2-users] No Repaint of MapPane on manipulating the layer

2014-04-03 Thread fmd85
Hello Michael, thanks for your quick and helpful reply. I wrote my own FeatureCollection (based on older versions) and it seems to work now. Florian -- View this message in context: