Created
February 16, 2016 15:17
-
-
Save oller/0da64b646d98455095c0 to your computer and use it in GitHub Desktop.
arc path
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var route = view.map.svg | |
.select(".transactions") | |
.append("path") | |
.datum({ | |
type: "LineString", | |
coordinates: [routeCoords[0], routeCoords[1]] | |
}) | |
.attr("class", "route") | |
.attr("d", view.map.path.projection(view.map.projection)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment