Multiple sources #1710
Answered
by
jellyedwards
jellyedwards
asked this question in
Q&A
-
Hi, sorry if this is a dumb question but is it possible to add multiple sources to a map? I tried:
However they seem to overwrite so I only get one dataset shown. https://codesandbox.io/s/react-map-gl-multiple-sources-5jqgz Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
jellyedwards
Feb 2, 2022
Replies: 2 comments 1 reply
-
I had set the id of the two layers the same - d'oh! |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jellyedwards
-
@jellyedwards I am tryging do something similar but it's just overriding. |
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
I had set the id of the two layers the same - d'oh!