Closed Xinayder closed 4 years ago
@RockyTV thenks for the bugreport, i see multiple issues with the example:
example
but refers to home-15
There are no issues with the example. After some search and testing with Mapbox Studio, I found out that every "official" style contains a subset of Maki icons, that's why some of them aren't being loaded. I had to clone an existing style and upload the whole spritesheet of Maki to have the missing icons.
Describe the bug Some Maki icons are not being loaded properly.
To Reproduce
ShapeSource
with a GeoJSON feature with one of the following icons:home-15
,heart-15
SymbolLayer
withiconImage
style set to['get', 'icon']
Please include a single standalone React Native component. Use one of our example screens as a starting point. Please simplify the example as much as possible.
Example:
Expected behavior The icon should render on screen.
Screenshots
with
home-15
with
airport-15
Versions (please complete the following information):
Additional context Some other icons, like
garden-15
, take a while to load, but the ones specified in here aren't being rendered.