Skip to content

Commit

Permalink
Focus on the feature when activating feature link
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-lu-uw committed Nov 29, 2021
1 parent 3b5eacd commit 4420a2d
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 4420a2d

Please sign in to comment.