Created
February 5, 2025 18:16
-
-
Save tim-salabim/2db92c7525b7623222aadf20bd7f4dcf to your computer and use it in GitHub Desktop.
globe control js binding for https://gist.github.com/tim-salabim/20f330a442f4861a1620711bc04bf41d
This file contains hidden or 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
addGlobeControl = function(map) { | |
let globecontrol = new maplibregl.GlobeControl(); | |
map.addControl(globecontrol); | |
return map; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment