From c1dbebdc86b121aa2d308f6a558c8c8e0f855a75 Mon Sep 17 00:00:00 2001 From: fustyles <34397289+fustyles@users.noreply.github.com> Date: Mon, 30 Dec 2024 11:10:23 +0800 Subject: [PATCH] Update googlemap.js --- SpBlocklyJS/googlemap_20241226/googlemap.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SpBlocklyJS/googlemap_20241226/googlemap.js b/SpBlocklyJS/googlemap_20241226/googlemap.js index 79c579e1a5..733ae3d91d 100644 --- a/SpBlocklyJS/googlemap_20241226/googlemap.js +++ b/SpBlocklyJS/googlemap_20241226/googlemap.js @@ -56,6 +56,9 @@ function updateMarkerContent(pID, newContent, type) { else if (type=="title") { mapMarkers[i][2].title = newContent; } + else if (type=="zindex") { + mapMarkers[i][2].zIndex = Number(newContent); + } else if (type=="icon") { const flagImg = document.createElement("img"); flagImg.src = newContent;