Hi. The GML layer has the setUrl for exactly this. setUrl sets the
layer URL to the one passed as a parameter and reloads the layer.
Cheers. Eric

2008/8/26, Laurent Pierre <[EMAIL PROTECTED]>:
>
> Hi,
>
> I'm trying to create a layer by loading a KML file from a Geoserver wms and
> I'm wondering if it is possible to have this layer to change by modifying
> the filter in the request as with standard wms or wfs layers, calling a kind
> of 'mergeNewParams' method ?  Otherwise I will have to create and destroy (I
> can't see how) the GML layer everytime I want to modify the map.
>
> Cheers
>
> Laurent
> --
> View this message in context:
> http://n2.nabble.com/GML-KML-layer-tp784398p784398.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://openlayers.org/mailman/listinfo/users
>
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to