I have to display layers which do not support all zoom-levels in Leaflet on Angular. These are WMTS-Layers loaded from external servers.
See example below:
How can i switch programmatically to a Layer which supports the corresponding zoom-layer to keep a usage-flow? It's not very easy for users to understand clearly that the layers are supportet not in every zoom-level.
The layer is use is configured as followed:
var baseMap = new L.TileLayer(
'https://wmts.url.tld/{z}/{x}/{y}.png',
{
maxZoom: 15,
attribution: '© source',
});