Skip to content

Unable to render simple geojson data using ShapeSource and SymbolLayer #3649

Answered by Elter71
xharris asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @xharris,

It looks like you're missing the id in <Mapbox.ShapeSource>. Also, for rendering circles, you should use CircleLayer instead of SymbolLayer.

Here’s an example that demonstrates the correct usage:
BugReportExample.js

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by xharris
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