The plugin does not work with maxNativeZoom and maxZoom settings.
Open street maps have only tiles with max zoom 18. Therefore when someone use settings like:
var osmTiles = 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png';
//Create the basemap and add it to the map
osmLayer= L.tileLayer(osmTiles, {
maxZoom: 30,
maxNativeZoom: 18,
opacity:0.6
});
The plugin will throw errors and search for wrong tiles (X, Y, Z are wrong)
The plugin does not work with maxNativeZoom and maxZoom settings. Open street maps have only tiles with max zoom 18. Therefore when someone use settings like:
The plugin will throw errors and search for wrong tiles (X, Y, Z are wrong)![image](https://user-images.githubusercontent.com/59684285/154864930-3d038778-b8c0-461b-a8bc-fa031092c625.png)