Set customized controls #267
Unanswered
BenOnTrack
asked this question in
Q&A
Replies: 1 comment 1 reply
-
|
Without seeing the code you have it's hard to say what the problem is, but I doubt this is anything specific to this library. Generally this error means that you have an explicit children snippet and you also have something outside of it in the same component, so the implicit children snippet and the explicit one conflict. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When following the example https://svelte-maplibre.vercel.app/examples/controls
I have the following error
Cannot use explicit children snippet at the same time as implicit children content. Remove either the non-whitespace content or the children snippet block
https://svelte.dev/e/snippet_conflictsvelte(snippet_conflict)
If you remove the lines {#snippet children({ map })} and {/snippet} then it works.
Not sure if I'm the only one experiencing such issues.
Beta Was this translation helpful? Give feedback.
All reactions