Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
function drawRoute(coordinates, color, centered)
var style = new mapkit.Style({
lineWidth: 6,
lineJoin: "bevel",
lineCap: "round",
strokeColor: color
var polyline = new mapkit.PolylineOverlay(coordinates, { style: style });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment