Open ristiisa opened 10 months ago
@pjleonard37 @persidskiy @aleksproger @OdNairy @evil159 @maios
Any thoughts on this issue?
@ristiisa Thank you for filing this issue, we will look into it. If you need a priority support, please contact our support team https://www.mapbox.com/support
Environment
Observed behavior and steps to reproduce
https://github.com/mapbox/mapbox-maps-ios/assets/514571/f77d61ec-655c-4e86-abdf-ae9cf4b3e588
When I import a large GeoJson to show on the map, I noticed that the lines would disappear depending on zoom level. After some investigation it seems that MapBox does not like when there are lot of Feature's with LineStrings inside. Here is the minimal code sample to produce the issue.
Expected behavior
The lines painted would not disappear.
Notes / preliminary analysis
It seems that if the LineStrings from all the Features are merged then into one LineString then the lines do not dissapear. It is not a feasible workaround for all cases as the continuous route is usually one feature anyway.
Additional links and references