question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Undesired tile boundaries while displaying MVT layer

See original GitHub issue

Describe the bug ol6 renders undesired tile boundaries while displaying VectorTileLayer with MVT source using ol-mapbox-style stylefunction.

tile_boundaries

To Reproduce

  1. Go to https://codesandbox.io/s/infallible-sunset-62e1p?fontsize=14&hidenavigation=1&theme=dark
  2. Try to zoom-in and zoom-out multiple times. After some zooming manipulations the tile boundaries appear as on screenshot

Expected behavior No tile boundaries should be visible

PS Thank you very much for your awesome work, guys 👍

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:22 (9 by maintainers)

github_iconTop GitHub Comments

4reactions
jokdcommented, Jan 28, 2020

Came back to this and setting declutter: true solved the issue for me.

1reaction
ahocevarcommented, Dec 3, 2019

@jokd If that other example works, then what @mike-000 says is the case. Using only a subset of the available tiles, at lower resolutions than they are intended for (which is what the mapbox-vector-tiles-advanced example does), can lead to such rendering problems.

Read more comments on GitHub >

github_iconTop Results From Across the Web

OpenLayers Inconsistent Hit Detection on MVT Layer Hover ...
Features can be split across tile boundaries. The example relies on them having an idProperty which is the same on all tiles Also...
Read more >
TileLayer - deck.gl
The TileLayer is a composite layer that makes it possible to visualize very ... Smaller tile sizes display the content at higher resolution,...
Read more >
Tile layers—ArcGIS Online Help | Documentation
The tiles are statically displayed by the client. Raster tile layers are most appropriate for basemaps that give your maps geographic context such...
Read more >
Displaying GeoServer vector tile using OpenLayers?
I'm using OpenLayers 5.3 and GeoServer to create a web map. Previously, I was using Leaflet and was able to display my layer...
Read more >
Mapbox Vector Tile (MVT) and MVT Tileset Reader/Writer
Layers can be defined in an optional metadata.json file at the root of a tileset which is read automatically when tiles are configured...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found