Skip to content

Commit 77fe03d

Browse files
committed
Update county_od.js
1 parent 9c5840c commit 77fe03d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/county_od.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -472,6 +472,10 @@
472472
p.dName = firstDefined(p, ['dName', 'destination_county', 'Destination_County']) || countyNameByFips[p.d] || p.d;
473473
});
474474

475+
desireFeatures.sort(function(a, b) {
476+
return getBidirectionalValue(a, odData) - getBidirectionalValue(b, odData);
477+
});
478+
475479
if (window.countyOdMapInstance) {
476480
window.countyOdMapInstance.off();
477481
window.countyOdMapInstance.remove();

0 commit comments

Comments
 (0)