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

Sven Geggus lists at fuchsschwanzdomain.de
Fri Jun 3 17:54:12 UTC 2016


Sven Geggus <lists at fuchsschwanzdomain.de> wrote:

> Jepp. Is there a way to set layer opacity in OL3?

Found the answer myself :)

Opacity can be changed as follows:

layername.setOpacity(x);

With x between 0 and 1.

Done that I am now looking for a way to reload tiles of a given layer.

Sven

-- 
"Das Einzige wovor wir Angst haben müssen ist die Angst selbst"
						(Franklin D. Roosevelt)

/me is giggls at ircnet, http://sven.gegg.us/ on the Web



More information about the dev mailing list