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:
...what ends up happening is that the coordinate disappears altogether from the map.
I'm plotting them with a pretty simple PolylineOverlay:
...with the following style:
This works fine when I plot duplicate coordinates on iOS. How do I get this working with Mapkit JS?
Code Block 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:
Code Block const trail = new mapkit.PolylineOverlay(coords, { style });
...with the following style:
Code Block 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?