Thank's David.

You know any example code how to implement a scale-dependent WMS layer?.

Thank's again.

Antoni Vidal.


-----Missatge original-----
De: David Fawcett [mailto:[email protected]]
Enviat el: dv. 02/01/2009 16:56
Per a: Vidal, Antoni
A/c: [email protected]
Tema: Re: [OpenLayers-Users] Change server wms layer depending resolution
 
Antoni,

If you also control the WMS and are serving up your own data, you
could use a scale-dependent WMS layer as your source.

You could also potentially build a WMS layer that cascades the data
from the two external WMS', using scale to determine which data source
to use.  That said, this would likely be a performance hit, you would
probably do better to write some custom javascript code to accomplish
it on the client side.

David.



On Fri, Jan 2, 2009 at 7:39 AM, Vidal, Antoni <[email protected]> wrote:
> Hi there,
>
>
>
> I would change the server of a wms layer depending of map's resolution. Is
> this possible ?, if yes, any help will be thankfull.
>
>
>
> Happy 2009.
>
>
>
> Antoni Vidal
>
> Institut Cartogràfic de Catalunya    Tel: +34-93 567 1500 Ext. 3228
>
> Parc de Montjuïc                             Fax: +34-93 567 1567
>
> 08038 Barcelona                            http://www.icc.cat
>
> Spain
>
>
>
> _______________________________________________
> 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