Post

Replies

Boosts

Views

Activity

Plotting duplicate Coordinates on a PolylineOverlay causes ponts to disappear
I'm plotting a set of Coordinates for a hiking trail, and in instances where the trail is an Out & Back and has duplicate Coordinates: return new mapkit.Coordinate(point[0], point[1]); ...what ends up happening is that the coordinate disappears altogether from the map. I'm plotting them with a pretty simple PolylineOverlay: const trail = new mapkit.PolylineOverlay(coords, { style }); ...with the following style: const style = new mapkit.Style({ 		strokeColor: colors.purple, 		lineWidth: 2, 		lineJoin: 'round', 		lineDash: [], }); This works fine when I plot duplicate coordinates on iOS. How do I get this working with Mapkit JS?
2
0
464
Oct ’20