Arnauld,

Please do not "bump" threads on the e-mail list. Especially not after only 10 
hours.

The people on this list tend to be very responsive and helpful. If they are not 
answering your question then you need to consider the possibility that they may 
not understand your question and/or know the answer to it. The people here 
contribute on their own time, and may not want to spend time tracking down your 
problem (although they may). If your questions are not being answered  fast 
enough, or if they are not being answered to your liking then you should 
consider one of the commercial support options 
(http://docs.codehaus.org/display/GEOTDOC/10+Communication+and+Support#10CommunicationandSupport-CommercialSupport).

Remember that there is always the option of looking through the documentation 
for an example and/or answer to your problem on your own. I've done about 15 
minutes of google and come up with this.

-------------------------
JMapFrame jmapFrame = ...; // You already have the frame and I don't know how 
to make one
LineString lineString = ... ; // You have a line string so I won't show you how 
to make one because I don't know

FeatureCollection collection = FeatureCollections.newCollection();
SimpleFeature feature = SimpleFeatureBuilder.build( TYPE, new 
Object[]{lineString, name}, null );
collection.add( feature );

jmapFrame.getMapContext().addLayer(collection, style); // I included style here 
but have no idea how to make one...it's up to you


Thank you again for NOT bumping postings
-Duane


From: arnauld ndefo [mailto:[email protected]]
Sent: Thursday, July 01, 2010 2:29 AM
To: [email protected]
Subject: [Geotools-gt2-users] geotools+refreshing

hello everybody,
i  have a really problem with the refreshing of the map.

Firstly, i have displayed the map without problem with DefaultMapContext. Now i 
want to add a LineString on this map. This work succefully but the map on 
JMapFrame
disappear and appear with this Linestring. I want to add this lineString 
without this disappearance and appearance of the map.

Remember that, i use postgis to generate my map.

Thank you

Ndefo Kamgne Arnauld
Cité Ettayour,Immeuble Bolbol 1,Appartement A2,Ariana
0021624249357


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to