Replies: 2 comments
-
If I hardcode it in the MapViewer function it works.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
It also works if I load the same data through a json file.
|
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Hi,
I'm using the latest version of react-map-gl 7.17. I have a Marker draw issue when using a valid json source.
I'm able to manually hard code and the pins show up on the map with no problem.
Then when trying to populate the map from a response json source, no markers are populating. I confirmed the incoming data looks correct and has latitude and longitude values.. I'm not getting any console errors to help me troubleshoot why the markers are not drawing. I provided the code below to see if anyone had any suggestions or comments. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions