deck.gl icon indicating copy to clipboard operation
deck.gl copied to clipboard

[Bug] Horizontal lines flicker and/or disappear with ESRI SceneView

Open wilson0028 opened this issue 3 years ago • 0 comments

Description

Here is a quick code pen that displays four horizontal lines with ESRI SceneView and deck.gl. An example image of it working properly is below.
good

However, every so often on the zoom end a line will disappear like the image below (red line is now missing). Lines also flicker while zooming.
missing_red_line .

Flavors

  • [ ] React
  • [ ] Python/Jupyter notebook
  • [ ] MapboxLayer
  • [ ] GoogleMapsOverlay
  • [ ] CartoLayer
  • [X] DeckLayer/DeckRenderer for ArcGIS

Expected Behavior

Lines not flickering or disappearing

Steps to Reproduce

Visit this code pen and zoom in/out. The horizontal lines will flicker. Every so often, when you stop on a certain zoom level, one or more lines will completely disappear.

This flickering can be mitigated with the pixel width greater than 1. The disappearing of horizontal lines can be completely eliminated when pixel width is greater than one. This problem does not exist when running deck.gl without a basemap.

Environment

  • Framework version: 8.7.8
  • Browser: Chrome 100.0
  • OS: Red Hat 8.5 and Mac OS

Logs

No response

wilson0028 avatar Apr 25 '22 18:04 wilson0028