From: Tom Hughes Date: Tue, 22 Feb 2022 18:55:34 +0000 (+0000) Subject: Make sure the object layer is kept in front of the data layer X-Git-Tag: live~1744 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/398a39dd0ae687eddac914490a4616bed4f42f69 Make sure the object layer is kept in front of the data layer --- diff --git a/app/assets/javascripts/index/browse.js b/app/assets/javascripts/index/browse.js index 3f888c1cd..1140515f5 100644 --- a/app/assets/javascripts/index/browse.js +++ b/app/assets/javascripts/index/browse.js @@ -110,6 +110,10 @@ OSM.initializeBrowse = function (map) { displayFeatureWarning(features.length, maxFeatures, addFeatures, cancelAddFeatures); } + if (map._objectLayer) { + map._objectLayer.bringToFront(); + } + dataLoader = null; } });