I'd like to use this great, interesting plugin in combination with another one: Leaflet.TileLayer.Fallback
[https://github.com/ghybs/Leaflet.TileLayer.Fallback)]
This would allow me to save resources when I want a color info.
While this has been ok, and while I'm noting that 2 colorpickers running in the same time do work,
var colorpicker = L.tileLayer.wms
.colorPicker("https://service.com/geoserver/gwc/service/wms?", {
layers: colorpicktoask,
maxZoom: 18,
format: 'image/png',
opacity: .0,
})
.addTo(map);
the fallback plugin would'nt work instead,
var colorpicker2 = L.tileLayer.fallback
.colorPicker("https://service.com/geoserver/ows?", {
layers: colorpicktoask2,
minNativeZoom: 4,
maxNativeZoom: 8,
maxZoom: 18,
format: 'image/png',
//opacity: .0,
//attribution:"<a href='https://pacific-data.sprep.org/dataset/landsat-8-satellite-imagery-collection-1-papua-new-guinea'>SPREP</a>",
})
.addTo(map);
with the error: Uncaught TypeError: L.tileLayer.fallback.colorPicker is not a function
So I'll be eager for your help on this exciting function too :)
I'd like to use this great, interesting plugin in combination with another one: Leaflet.TileLayer.Fallback
[https://github.com/ghybs/Leaflet.TileLayer.Fallback)]
This would allow me to save resources when I want a color info.
While this has been ok, and while I'm noting that 2 colorpickers running in the same time do work,
the fallback plugin would'nt work instead,
with the error: Uncaught TypeError: L.tileLayer.fallback.colorPicker is not a function
So I'll be eager for your help on this exciting function too :)