Skip to content

Using MapLibre Plugins with this library #136

Closed Answered by dabreegster
a0a7 asked this question in Q&A
Discussion options

You must be logged in to vote

let map: maplibregl.Map | undefined;

you'd declare let map; somewhere in your script block, then <MapLibre bind:map ... />
Keeping in mind that the map isn't immediately initialized, which is why that example also binds loaded

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@a0a7
Comment options

@a0a7
Comment options

@dabreegster
Comment options

Answer selected by a0a7
@a0a7
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants