Open balhar-jakub opened 7 years ago
The fix only works for polygons that cross the anti-meridian or contain a pole, since those require drawing the the interior and outline individually.
You should apply the same fix to line 833. https://github.com/NASAWorldWind/WebWorldWind/blob/develop/src/shapes/SurfaceShape.js#L833
@strikerM thanks for noticing the discrepancy.
@balhar-jakub please perform and test the require change.
The second part of the fix was merged and this issue should now be closed. It's in fb8d7e1.
@alberto-acevedo could you confirm that this solves your issue as well?
The multiplication: https://github.com/NASAWorldWind/WebWorldWind/blob/master/src/shapes/SurfaceShape.js#L874
The intent is to make sure that the line width is consistent between SurfaceShapes and Shapes while also being roughly the same size as for example in the Cesium or Google Earth.