mapbox / mapbox-maps-android

Interactive, thoroughly customizable maps in native Android powered by vector tiles and OpenGL.
https://www.mapbox.com/mobile-maps-sdk
Other
478 stars 134 forks source link

Features are not visible for zoom <16 despite minzoom is not set #2505

Open bartek977 opened 3 weeks ago

bartek977 commented 3 weeks ago

Environment

Observed behavior and steps to reproduce

Certain small polygon features are not rendered on the map when the zoom level is below 16. When zoomed in to a level greater than 16, these features appear as expected. This issue persists despite setting minZoom to a smaller value than 16, and it affects both Android and iOS platforms. Larger polygons render correctly at all zoom levels, so the problem appears specific to smaller polygon features.

Expected behavior

Features should always be visible if no min zoom is specified.

Additional links and references

style.json

test.geojson: { "type": "FeatureCollection", "name": "SELECT", "crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } }, "features": [ { "type": "Feature", "geometry": { "type": "Polygon", "coordinates": [ [ [ 5.575164506428824, 52.139790310429383 ], [ 5.57516908237175, 52.139793820961138 ], [ 5.575243809714596, 52.139760741820922 ], [ 5.575238650165777, 52.139757489628344 ], [ 5.575164506428824, 52.139790310429383 ] ] ] } } ] }

bartek977 commented 3 days ago

could someone look at this?