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

David Hequet david.hequet at free.fr
Thu Apr 25 02:40:02 PDT 2013


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.


More information about the Dev mailing list