Upgrade leaflet from 1.3.4 to 1.7.1

This commit is contained in:
leosw
2021-03-29 23:19:49 +02:00
parent 592d7852f8
commit a088d1f3ca
13 changed files with 169 additions and 139 deletions

View File

@@ -42,7 +42,7 @@ $( document ).ready(function() {
});
poi_layer = L.marker([47, 3], {draggable: true}).addTo(mymap);
poi_layer.bindTooltip("Glissez moi au bon endroit.", {permanent: true, direction: 'top'}).openTooltip();
poi_layer.bindTooltip("Glissez moi au bon endroit.", {permanent: true, direction: 'auto'}).openTooltip();
mymap.on('click', function(e){
poi_layer.unbindTooltip();