On Thu, Jun 12, 2008 at 01:54:31PM +0200, G. Allegri wrote: > Hello list. > I need to call a wfs to retrieve a multipolygon vector layer. As it's > quite huge (about 15000 vertices), I'd like to call it once (full > extent) and then "copy" it in a vector object to avoid calling wfs > when zooming and panning.
In this case, you probably just want to use Layer.GML. Layer.GML takes a single URL and loads remote data based on it, and does not update when the map extent changes. Layer.WFS is really "Layer.LoadDataWhenDraggingAround": if you just want Layer.LoadData, then use Layer.GML. Regards, -- Christopher Schmidt MetaCarta _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
