Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StrokeWidth doesn't work for GeoJsonDataSource #6942

Closed
lydart opened this issue Aug 20, 2018 · 1 comment
Closed

StrokeWidth doesn't work for GeoJsonDataSource #6942

lydart opened this issue Aug 20, 2018 · 1 comment

Comments

@lydart
Copy link

lydart commented Aug 20, 2018

Step to reproduce:

  1. go to https://cesiumjs.org/Cesium/Build/Apps/Sandcastle/?src=GeoJSON%20and%20TopoJSON.html&label=DataSources
  2. For Basic styling, edit strokeWidth to 30
  3. Run

Expected - Line width should be wider
Actual - Line width didn't change

@mramato
Copy link
Contributor

mramato commented Aug 20, 2018

@lydart this is a limitation of Windows browsers (it works on Linux, Android, iOS, and Mac), see https://stackoverflow.com/a/25405483/3191039 for full details. Basically the maximum limit is whatever viewer.scene.maximumAliasedLineWidth reports.

The good news is that we have an alternate implementation that would allow this, but no exact ETA on when it will be in. Keep your eye on #6694.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants