Skip to content

Commit

Permalink
Focus on the feature when activating feature link (#607)
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-lu-uw committed Dec 1, 2021
1 parent 4ec4d51 commit 7a0b4dc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/mapml/utils/Util.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
},

Expand Down

0 comments on commit 7a0b4dc

Please sign in to comment.