Understanding SymbolLayer
See original GitHub issueI have a hard time trying to understand how the SymbolLayer
works, especially the style prop, especially the properties iconSize
and iconImage
seen in the ShapeSourceIcon example.
I understand that there is a lot of WIP in this library, especially regarding the doc, and if I have some time I would be glad to help, but in the meantime I need to sort out my transition from PointAnnotation
to SymbolLayer
, and I feel it quite hard to understand the way the whole machinery works without documentation…
Thanks for your help !
Issue Analytics
- State:
- Created 4 years ago
- Reactions:4
- Comments:5
Top Results From Across the Web
About working with symbol layers—Help | Documentation
Symbol layers are the building blocks that make up a representation rule. They define how the geometry is displayed for each feature assigned...
Read more >Display multiple icon images in a symbol layer | Maps SDK | iOS
Add point data and several images to a style and use the switchCase and get expressions to choose which image to display at...
Read more >nitaliano/react-native-mapbox-gl - annotation vs SymbolLayer
I tried annotations and from what I understand: annotation are react components that are placed on top of the map view and moved...
Read more >A Complete Guide to Sources and Layers in React and ...
Understanding how to add sources and layers to a map will open a lot of ... A symbol layer can also be used...
Read more >What is the difference between Feature Symbology and ...
Symbol layer symbology : depending on the symbology, the same geometry is exported several times on top of each other, for each symbol...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m a bit confused too … would appreciate some explanation on how this new component works as compared to PinAnnotation
Do we have any update on that one ? In the documentation It’s write that
iconSize
is anumber
and in the example (ShapeSourceIcon
) there is that case :Following the actual docution, I have difficulties to understand how this one should work…