From 6556bc5fa95570161f93d8fbf056b92da07d1505 Mon Sep 17 00:00:00 2001 From: Paul Dechov Date: Mon, 11 Aug 2014 13:15:45 -0400 Subject: [PATCH] Fixed flash of full path ahead at start of animation --- public/js/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/script.js b/public/js/script.js index 0a370bd..5328757 100644 --- a/public/js/script.js +++ b/public/js/script.js @@ -301,7 +301,7 @@ if(d.properties.hasfare) { //transition marker to show full taxi function transition(path) { - g.selectAll + path.attr("stroke-dasharray", "0," + path.node().getTotalLength()); path.transition() .duration(function(d){