From 1b9d4482c64018226da10f2eea3a57474db95f70 Mon Sep 17 00:00:00 2001 From: Tariq Soliman Date: Wed, 14 Dec 2022 16:46:46 -0800 Subject: [PATCH] #296 Fix WMS url query --- src/essence/Basics/Layers_/leaflet-tilelayer-middleware.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/essence/Basics/Layers_/leaflet-tilelayer-middleware.js b/src/essence/Basics/Layers_/leaflet-tilelayer-middleware.js index 01d72827..262993d4 100644 --- a/src/essence/Basics/Layers_/leaflet-tilelayer-middleware.js +++ b/src/essence/Basics/Layers_/leaflet-tilelayer-middleware.js @@ -234,7 +234,7 @@ L.TileLayer.ColorFilter = L.TileLayer.extend(colorFilterExtension) // We can't extend an already extended so we'll merge by hand L.TileLayer.WMSColorFilter = L.TileLayer.extend( - Object.assign(wmsExtension, colorFilterExtension) + Object.assign(colorFilterExtension, wmsExtension) ) L.tileLayer.colorFilter = function (url, options) {