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.

Polygon disappears even though lineWidthMinPixels is > 0

See original GitHub issue

Actual Result

Polygon disappears when zooming out

Expected Result

Polygon’s stroke lines maintain at least lineWidthMinPixels pixels width

Reproduce Steps

  • Use GeoJsonLayer.
  • Set lineWidthMinPixels to 2
  • Load a polygon into it
  • Zoom way out

Code Example

Reproduces with the following polygon GeoJsonLayer:

https://gist.github.com/supersonicclay/e61000878939f04c79474bdfdc1a8515

Paste this into https://deck.gl/json: https://gist.github.com/supersonicclay/e61000878939f04c79474bdfdc1a8515#file-deck-gl_repro-json

To Do List

  • Add label and assign to milestone
  • Coding
  • Test

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
supersonicclaycommented, Jan 3, 2019

Working much better @Pessimistress and @tgorkin. Thanks!

0reactions
yocontracommented, Jan 2, 2019

@tgorkin Thanks! Will test it out.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Weird polygon behaviour · Issue #1630 · visgl/deck.gl - GitHub
Not sure if this is a bug or I am just missing one key component. When I try to render flat polygons that...
Read more >
Re: Polygon lines and attributes disappearing afte... - Page 2
I have over 100 arcgis files saved onto our server and have been struggling with an issue I cannot figure out. After opening...
Read more >
Polygon disappearing after editing using ArcGIS Pro
The polygon disappears as soon as I hit 'finish' and seems to get assigned ... are shapes listed but they are all lines...
Read more >
Polygon disappears when zoomed in. - Google Groups
Now the polygons don't disappear when you zoom in. - Great except I now have the outside polygon showing still, and wanted I...
Read more >
Polygons disappearing - leaflet - Stack Overflow
I am working on a site with leaflet functionality. On the initial map a set of points (markers), lines and polygons are added...
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