Mapbox-gl-native: [node] clipped symbols on vectortile borders

Created on 4 May 2018  路  9Comments  路  Source: mapbox/mapbox-gl-native

Platform: Linux, Node v6.11.5
Mapbox SDK version: @mapbox/[email protected]

Steps to trigger behavior

  1. Extract the Zip Archive mapboxGLtest.zip
  2. Run npm install
  3. Run node test.js

Expected behavior

On serverside rendered maps, the symbols should placed correctly over vectortile borders, given the sufficient buffer_size of 256.

Actual behavior

39632271-e351c814-4fb4-11e8-82da-16d8b24c77b0

Labels are clipped on vectortile-borders. One example is the feature with id 18386548590 and name Parc Arheologic. The attached vectortiles are created with tilelive and a buffer_size of 256.

Thanks for any help!

Core bug

All 9 comments

I've seen this or a similar problems in many situations, also in Mapbox repos. Wondering why nobody here chimes in?

Usually buffer size is mentioned as a solution but that doesn't solve anything here, as buffer size in the above setup is already 256.

I've seen this in my own apps, and in other 3rd party apps that use Mapbox, such as Strava. It's particularly common in Strava

@lincomatic Do you have screenshots from Strava's map showing the problem?

@lincomatic Do you have screenshots from Strava's map showing the problem?

It happens fairly regularly, but I'm having trouble digging one up right now. Will post one next time I see it on Strava

Strava map sample. Notice the place names in the center of the map are cut off at the tile border:

fullsizerender

@jfirebaugh This hasn't been classified as a bug yet. Or are we missing something and this has been fixed in the master branch since the last Node release? Any pointers would be greatly appreciated.

Sure, applied tags. I do believe there have been quite a few changes to symbol rendering since 3.5.8. Have you tried any of the 4.0.0 prereleases?

Not yet (as 4.0 was released after this bug report), will do!

Horray! We have tested with 4.0 and it works now. This ticket may be closed.

Was this page helpful?
0 / 5 - 0 ratings