show tooltip for position history markers
This commit is contained in:
parent
7f30f2c7f9
commit
dcbde41fc9
1 changed files with 1 additions and 1 deletions
|
|
@ -3823,7 +3823,7 @@
|
|||
// create position history marker
|
||||
const marker = L.marker([positionHistory.latitude, longitude],{
|
||||
icon: iconPositionHistory,
|
||||
}).bindPopup(tooltip).on('click', function(event) {
|
||||
}).bindTooltip(tooltip).bindPopup(tooltip).on('click', function(event) {
|
||||
// close tooltip on click to prevent tooltip and popup showing at same time
|
||||
event.target.closeTooltip();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue