Skip to content

Commit

Permalink
show tooltip for position history markers
Browse files Browse the repository at this point in the history
  • Loading branch information
liamcottle authored and KomelT committed Aug 29, 2024
1 parent c09de24 commit 6c16cc5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5045,6 +5045,7 @@ <h2 class="font-bold">
const marker = L.marker([positionHistory.latitude, longitude], {
icon: iconPositionHistory,
})
.bindTooltip(tooltip)
.bindPopup(tooltip)
.on("click", function (event) {
// close tooltip on click to prevent tooltip and popup showing at same time
Expand Down

0 comments on commit 6c16cc5

Please sign in to comment.