Skip to content

Clusters example: Property getClusterLeaves' does not exist on type 'Source'.ts(2339) #143

Answered by dimfeld
artello73 asked this question in Q&A
Discussion options

You must be logged in to vote

That type actually comes straight from the maplibre-gl library, so your best bet is probably to import it from there.

I had considered re-exporting all the types from this library but felt it might muddy things, making it hard to figure out what was added by svelte-maplibre and what was in the original maplibre-gl library that this wraps.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by artello73
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants