“stroke-dasharray:x,y;” mess up svg path? (Chrome)
问题 Works I generate svg paths via d3js. Either data() + mesh() or datum() + mesh() work. svg.append("g").attr("id","border") .attr("style", "fill: none; stroke:#646464;") .selectAll("path") .data([topojson.mesh(json, L0, function(a, b) { return a !== b; })]) .enter().append("path") .attr("d", path); or : //inland borders lines svg.append("g").attr("id","coast") .attr("style", "fill: none; stroke:#646464;") .append("path") .datum(topojson.mesh(json, json.objects.admin_0, function(a,b){return a==