Open nmccready opened 9 years ago
From @florentplomb on October 6, 2015 17:21
Hi,
Try with this :
layerParams: { minZoom: 9, maxZoom: 18 }
Hi,
I have a similar issue. Tried layerParams and layerOptions? I also tried changing the default values dynamically, but it only works the 1st time, no effect after that.
Any ideas?
Seems to work with layerParams, but had to remove default values.
It doesn't work for me. Here are my defaults:
this.defaults.tileLayer = myUrl;
this.defaults.layerParams = {maxZoom: 11, minZoom: 0};
I've also tried:
this.defaults.tileLayer = myUrl;
this.defaults.maxZoom = 11;
As mentioned in the README. Any ideas why it doesn't work?
From @corymsmith on September 9, 2015 8:58
I have a base layer and a bunch of overlays, each overlay has a min and max zoom but it doesn't appear to be working. Does this structure look correct?
Copied from original issue: tombatossals/angular-leaflet-directive#928