Skip to content

Commit

Permalink
Merge pull request #59 from conveyal/dev
Browse files Browse the repository at this point in the history
v0.9.1
  • Loading branch information
trevorgerhardt authored Nov 21, 2016
2 parents c2db2e7 + 5f86535 commit 92c97ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/get-transitive-data.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default function getTransitiveData ({ origin, query, stopTreeCache, netwo

output.places.push({
place_id: 'from',
place_name: from.name || 'Origin', // todo do this with icons, avoid English works (or Portuguese words, for that matter)
place_name: from.name, // TODO do this with icons, avoid English works (or Portuguese words, for that matter)
place_lat: fromCoord.lat || pixelToLat(query.north + origin.y, query.zoom),
place_lon: fromCoord.lon || pixelToLon(query.west + origin.x, query.zoom)
})
Expand All @@ -43,7 +43,7 @@ export default function getTransitiveData ({ origin, query, stopTreeCache, netwo

output.places.push({
place_id: 'to',
place_name: to.name || 'Destination',
place_name: to.name,
place_lat: toCoord.lat || pixelToLat(query.north + to.y, query.zoom),
place_lon: toCoord.lon || pixelToLon(query.west + to.x, query.zoom)
})
Expand Down

0 comments on commit 92c97ed

Please sign in to comment.