Project

General

Profile

Removing or changing WLeafletMap tile layers

Added by Alexandra S over 3 years ago

I would like to be able to remove tile layers that have been added to a WLeafletMap via addTileLayer() and/or to change their options (especially opacity).

Looking at the code in WLeafletMap.C it seems as if one way could be to change it so that something similar is done with tile layers as it is with markers. Is there an easier/better/other way?