Closed jakub-oone closed 8 months ago
Please fix the errors in your code example - More info.:
error: 'JSX' is not defined (no-undef) at example.tsx:410:17:
408 | });
409 |
> 410 | function App(): JSX.Element {
| ^
411 | const defaultSettings = useMemo(() => {
412 | return {
413 | followUserLocation: false,
1 error found.```
Mapbox Implementation
Mapbox
Mapbox Version
10.16.4
Platform
iOS, Android
@rnmapbox/maps
version10.1.6
Standalone component to reproduce
Observed behavior and steps to reproduce
1) build project from https://github.com/jakub-oone/issue-symbollayer 2) screen with map appears 3) SymbolLayer images are NOT rendered - they are missing. Just labels are displayed. ad. after some zooming in/out the images appears. BUT when you zoom out, they disappear again.
Expected behavior
1) build project from https://github.com/jakub-oone/issue-symbollayer 2) screen with map appears 3) SymbolLayer images are rendered once they are loaded from url. There should be some image placeholder indicating loading the image. Once the images are loaded, they should be automatically replaced one by one by the final image.
Notes / preliminary analysis
Link to simple project repository. You can run this app and simulate that issue. https://github.com/jakub-oone/issue-symbollayer
Additional links and references
https://github.com/rnmapbox/maps/assets/55842861/bb3753dd-d4c4-4137-9304-3d6f7bb8bcf8