From 4420a2da5d2596f30883d3a75ae76c7cb635abe8 Mon Sep 17 00:00:00 2001 From: ben-lu-uw Date: Fri, 26 Nov 2021 16:12:45 -0500 Subject: [PATCH] Focus on the feature when activating feature link --- src/mapml/utils/Util.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mapml/utils/Util.js b/src/mapml/utils/Util.js index 60484ce46..dd4c5a8f2 100644 --- a/src/mapml/utils/Util.js +++ b/src/mapml/utils/Util.js @@ -395,7 +395,6 @@ export var Util = { } else if (zoomTo && !link.inPlace && justPan){ leafletLayer._map.options.mapEl.zoomTo(+zoomTo.lat, +zoomTo.lng, +zoomTo.z); if(opacity) layer.opacity = opacity; - map.getContainer().focus(); } },