Skip to content
Discussion options

You must be logged in to vote

Does that mean that the "id", parameter in CircleLayer and SymbolLayer hasn't got any relevance any longer?
SymbolLayer(id = "marker-layer",…)

It's relevant in that's the ID of the layer when it's added to the MapLibre style, and layer IDs are not allowed to conflict. It's also the ID you'll see in the logs. Someday we may make the layer ID generated internally (like we now do for layers), which'll make the logs slightly less useful but make the API cleaner and safer.

With maplibre-compose I don't think I can do that, so I am considering to group the overpass result by artwork type and then create one SymbolLayer per artwork type. Each SymbolLayer with it's own icon. Is that the correc…

Replies: 3 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
8 replies
@zell-mbc
Comment options

@sargunv
Comment options

@zell-mbc
Comment options

@sargunv
Comment options

Answer selected by zell-mbc
@sargunv
Comment options

@zell-mbc
Comment options

@sargunv
Comment options

Comment options

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