source:
node_modules/d3-geo/src/distance.js@
e4c61dd
| Last change on this file since e4c61dd was e4c61dd, checked in by , 6 months ago | |
|---|---|
|
|
| File size: 232 bytes | |
| Rev | Line | |
|---|---|---|
| [e4c61dd] | 1 | import length from "./length.js"; |
| 2 | ||
| 3 | var coordinates = [null, null], | |
| 4 | object = {type: "LineString", coordinates: coordinates}; | |
| 5 | ||
| 6 | export default function(a, b) { | |
| 7 | coordinates[0] = a; | |
| 8 | coordinates[1] = b; | |
| 9 | return length(object); | |
| 10 | } |
Note:
See TracBrowser
for help on using the repository browser.
