[OSM-dev] cross-fade map sample code (ol3 or leaflet)

lars lingner gislars+list at gmail.com
Fri Jun 3 09:25:08 UTC 2016


Hi Sven,

Am 03.06.2016 um 10:29 schrieb Sven Geggus:
> lars lingner <gislars+list at 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



More information about the dev mailing list