Skip to content

Commit

Permalink
Update googlemap.js
Browse files Browse the repository at this point in the history
  • Loading branch information
fustyles authored Dec 30, 2024
1 parent c1dbebd commit 969925a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions googlemap_20241226/googlemap.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 969925a

Please sign in to comment.