I'm programmatically invoking a refresh on the layer - any data 
currently in the bounding box of the viewport is reloaded from the 
datastore ... which includes the newly inserted feature.  I suppose I 
could be smarter about this and reload all features whose bounding boxes 
match the bounding box of the feature just inserted.  Then I'd filter 
all features already in the client's cache, thereby adding one new 
feature to the FeatureCollection ... but a complete layer refresh is far 
easier. :)

-- Kevin

On 9/6/2010 6:31 AM, Rahkonen Jukka wrote:
> Hi,
>
> One further question: How are you going to get the ID of the newly inserted 
> feature back to OpenJUMP side?
>
> -Jukka-
>

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to