The word you are looking for is opacity [1]
Example from mapbox.js (wrapper around leaflet) [2]

Hope that helps.

--
Mattias

[1] http://leafletjs.com/reference.html#tilelayer-setopacity
[2] https://www.mapbox.com/mapbox.js/example/v1.0.0/opacity/

On Fri, Jun 3, 2016 at 11:25 AM, lars lingner <gislars+l...@gmail.com>
wrote:

> Hi Sven,
>
> Am 03.06.2016 um 10:29 schrieb Sven Geggus:
> > lars lingner <gislars+l...@gmail.com> wrote:
> >
> >> There are examples for OL3  [1] and for Leaflet [2] and [3].
> >
> > This is simular, but not exactly what I'm up to. What I actually want is
> > dissolving layers transparently like in http://sautter.com/map
>
> I see, I wasn't sure about the transparency. I couldn't find an exact
> example. But have a look at [1]. My idea would be to modify one layer
> slider so that it is effecting the transparency of two layers.
>
> >
> > Sven
> >
> > P.S.: Looks like the correct word for "überblenden" is dissolve in this
> case
> > not fade.
> >
>
> Thanks, thats helpful. I ended up searching for the word "swipe" which
> isn't right either.
>
>
> Lars
>
>
> [1]
>
> http://www.acuriousanimal.com/thebookofopenlayers3/chapter02_03_layer_groups.html
>
> _______________________________________________
> dev mailing list
> dev@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/dev
>
_______________________________________________
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev

Reply via email to