[OpenLayers-Dev] Load a VectorLayer from more than one URL (load several xml files to just one layer)

Ander Pijoan ander.pijoan at deusto.es
Thu Apr 25 02:45:08 PDT 2013

Ok, thank you very much and sorry for writing in the wrong place.

2013/4/25 David Hequet <david.hequet at free.fr>

> Hi,
> I think you are in the wrong place. Dev is used about OL library
> development.
> Since you are using a Fixed strategy i suggest you to load your date with
> another ajax request (like jquery.ajax(...) ), then manually load data into
> the vector layer using .addFeatures() method
> Or you can modify the openlayers.strategy.fixed to handle multiples url
> load. don't forget to modify the merge() function that is called on
> callback
> ( layer.destroyFeatures(); ...)
> David
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/Load-a-VectorLayer-from-more-than-one-URL-load-several-xml-files-to-just-one-layer-tp5049332p5049592.html
> Sent from the OpenLayers Dev mailing list archive at Nabble.com.
> _______________________________________________
> Dev mailing list
> Dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-dev

Ander Pijoan Lamas
Research Assistant, Deustotech
Computer Science Engineer
University of Deusto

E-mail: ander.pijoan at deusto.es
Phone: +34 664471228
in: http://www.linkedin.com/profile/view?id=162888312
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-dev/attachments/20130425/0206fd40/attachment.html>

More information about the Dev mailing list