mapbox-gl-native icon indicating copy to clipboard operation
mapbox-gl-native copied to clipboard

Style rendering strangely in gl-native (tested with macOS SDK and api-gl)

Open lyzidiamond opened this issue 10 years ago • 6 comments

Platform: Mac OSX Mapbox SDK version: 0.1.0

Steps to trigger behavior

  1. Upload Natural Earth 4000m bathymetry data as a tileset
  2. Add to a style and publish the style with only the layer styling this tileset
  3. View using api-gl or mapbox-gl-native

See the style here: https://gist.github.com/lyzidiamond/673fd0f093a09c7c0be333ef8e837a3d

Expected behavior

Style is rendered as in Mapbox GL JS

Actual behavior

At certain zoom levels, the layer covers more area than it should. This is not a tileset simplifcation issue, but a rendering issue. See example in this gif -- first api-gl, then mapbox gl js, then api-gl again.

fallback

lyzidiamond avatar Oct 07 '16 00:10 lyzidiamond

May be related to https://github.com/mapbox/mapbox-gl-native/issues/962

danswick avatar Oct 12 '16 01:10 danswick

May be related to https://github.com/mapbox/mapbox-gl-js/issues/3354 as well

mollymerp avatar Oct 12 '16 14:10 mollymerp

Noting that we're seeing a similar issue in Mapbox Streets when viewing this area of islands near Finland. The issue is not present when viewing with Mapbox GL JS, but does appear when requesting raster tiles and when viewing on iOS and the macOS SDK (see screenshots below).

image iOS

image macOS

danswick avatar Oct 12 '16 16:10 danswick

Any news on this? Is this someting we can work-around as for the time being? Or... what can we do to help?

ngeens avatar Oct 18 '16 11:10 ngeens

Proposed fix for this problem is at #7621.

springmeyer avatar Jan 07 '17 02:01 springmeyer

Merged #7621.

jfirebaugh avatar Feb 09 '17 16:02 jfirebaugh