This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
MGLLineStyleLayer - Gap Line(s) intersect when angled less than 90º #13227
Labels
archived
Archived because of inactivity
bug
Core
The cross-platform C++ core, aka mbgl
design
runtime styling
On iOS using MGLLineStyleLayer, when setting the
.lineGapWidth
attribute, you would expect that the gap line that's generated would not intersect. However, if the Polyline you are styling has angles that are less than 90º these lines intersect.Steps to reproduce
line-gap-width
propertyExpected behavior
As this is property is often used to generate an 'outline' of a Polyline feature, it would be expected that the exterior lines would not intersect. Here's how a line gap is rendered on other GIS software:
Actual behavior
You get intersecting lines:
iOS Maps SDK
Mapbox GL JS
Configuration
I've confirmed this behavior in both the iOS Maps SDK v4.5.0 and Mapbox GL JS v0.50.0
The text was updated successfully, but these errors were encountered: