From 32a8f4932785de16b2dcb4a49278c63189d76f7f Mon Sep 17 00:00:00 2001 From: Felix Schmenger Date: Tue, 4 Jun 2024 16:51:45 +0200 Subject: [PATCH] Fix hoverable WMS layers. --- src/factory/Layer.js | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/factory/Layer.js b/src/factory/Layer.js index e82f48d7..7ee6f8aa 100644 --- a/src/factory/Layer.js +++ b/src/factory/Layer.js @@ -129,11 +129,11 @@ export const LayerFactory = { ratio: lConf.ratio, interpolate: lConf.interpolate, projection: lConf.projection, - crossOrigin: lConf.crossOrigin, - hoverable: lConf.hoverable, - hoverAttribute: lConf.hoverAttribute, - hoverOverlay: lConf.hoverOverlay - }) + crossOrigin: lConf.crossOrigin + }), + hoverable: lConf.hoverable, + hoverAttribute: lConf.hoverAttribute, + hoverOverlay: lConf.hoverOverlay }); return layer; @@ -158,11 +158,11 @@ export const LayerFactory = { serverType: lConf.serverType, tileGrid: lConf.tileGrid, projection: lConf.projection, - crossOrigin: lConf.crossOrigin, - hoverable: lConf.hoverable, - hoverAttribute: lConf.hoverAttribute, - hoverOverlay: lConf.hoverOverlay - }) + crossOrigin: lConf.crossOrigin + }), + hoverable: lConf.hoverable, + hoverAttribute: lConf.hoverAttribute, + hoverOverlay: lConf.hoverOverlay }); return layer;