Created
September 30, 2020 15:10
-
-
Save letswritetw/9af14f0ca033ccec87fcd61f35f278fb to your computer and use it in GitHub Desktop.
leaflet-osm-basic
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
marker.bindTooltip("my tooltip text", { | |
direction: 'bottom', // right、left、top、bottom、center。default: auto | |
sticky: true, // true 跟著滑鼠移動。default: false | |
permanent: false, // 是滑鼠移過才出現,還是一直出現 | |
opacity: 1.0 | |
}).openTooltip(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment