[OpenLayers-Users] Change server wms layer depending resolution

David Fawcett david.fawcett at gmail.com
Fri Jan 2 10:56:52 EST 2009


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 <antoni.vidal at icc.cat> 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
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
>



More information about the Users mailing list