[Users] How to save features of a selected region into an external file?

Alexandre Dube adube at mapgears.com
Fri Feb 19 14:31:11 CET 2010


Hi,

  This question is more suitable for the OpenLayers-Users Mailing List btw.

  You don't need to change anything.  Just set 'multiple': true, 'box': 
true to you SelectFeature control options for multi-selection, then 
register a "featureselected" event to your Layer.Vector object and do 
what you want with your selected features (save in XML, TXT, etc.)

  Regards,

Alexandre


Ozgur Zan wrote:
> Dear List members,
>
> I want to re-program OpenLayers Select Feature so that when I select a 
> region by drawing a box,
> the features in the selected region are saved into a a document (of 
> XML, TXT or any other) rather
> than a pop-up or zoom in features. Is there anyone who can guide me?
>
> Best Regards,
> Dr. Ozgur ZAN
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at geoext.org
> http://www.geoext.org/cgi-bin/mailman/listinfo/users
>   


-- 
Alexandre Dubé
Mapgears
www.mapgears.com



More information about the Users mailing list