Skip to content

Instantly share code, notes, and snippets.

@mamezito-zz
Created April 25, 2018 10:45
Show Gist options
  • Save mamezito-zz/d4e3870a627dfe2a3da8d486ec6e12ce to your computer and use it in GitHub Desktop.
Save mamezito-zz/d4e3870a627dfe2a3da8d486ec6e12ce to your computer and use it in GitHub Desktop.
Building Mapbox Route in Framer
myMap.buildRoute(point1, point2, 9, "#ffcc00")
#where myMap - is your map object name. Point1, Point2 are your start and end points of route, last two attributes are strokeWidth and strokeColor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment