mapbox / mapbox-gl-native

Interactive, thoroughly customizable maps in native Android, iOS, macOS, Node.js, and Qt applications, powered by vector tiles and OpenGL
https://mapbox.com/mobile
Other
4.35k stars 1.33k forks source link

Lines rendered incompletely at high zoom levels #16470

Closed nunojpg closed 4 years ago

nunojpg commented 4 years ago

Maybe related to https://github.com/mapbox/mapbox-gl-js/issues/5171

Platform: QT Mapbox SDK version: git master

Steps to trigger behavior

  1. Add GeoJSON source and line layer.
  2. Zoom in.

Expected behavior

Lines stay represented correctly.

Actual behavior

Lines disappear or are rendered incompletely.

Examples in GIF:

ezgif com-gif-maker

ezgif com-gif-maker (1)

nunojpg commented 4 years ago

This was caused by using QMapbox::Feature::PointType instead of QMapbox::Feature::LineStringType.