[OpenLayers-Users] Select view

Tue Topholm tt at sugee.dk
Wed Dec 26 09:26:49 PST 2012


There are 2 ways to do it:

1. traverse through all features, and see if the are in the bbox.  see contains under bounds (http://dev.openlayers.org/docs/files/OpenLayers/BaseTypes/Bounds-js.html)
2. Make a filter, and copy the output to the other layer…. (http://dev.openlayers.org/docs/files/OpenLayers/Filter/Spatial-js.html)



Den 26/12/2012 kl. 13.09 skrev maurotello <maurotello73 at gmail.com>:

> Hola!!! tengo que seleccionar todos los elementos de todas las capas que veo en ese momento para copiarlas y pegarlas en otra layers, como puedo hacer eso? Se puede hacer con selectBox ???
> 
> Gracias
> 
> -------------------------------
> 
> Hello! my question is how I can select all the elements of all the layers that I'm currently viewing, to copy and paste them into another layer.
> 
> It can be done with selectbox????
> Thank you!
> 
> 
> 
> -- 
> Mauro Tello
> Programador - Desarrollos Webs
> [hidden email]
> 02920 - 1553 8998
> Viedma, Río Negro
> Patagonia Argentina
> 
> View this message in context: Select view
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20121226/370bb054/attachment.html>


More information about the Users mailing list