Skip to content
Compare distances on map by using one known place as a reference point.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
test
LICENSE.txt
README.md
distance-comparator.js
index.html

README.md

distance-comparator is helping to compare distances between cities by using a known city as a reference.

I have a problem understanding distances just by a value. For example, how far is 200 kilometers? Well, it is pretty far, you won't be able to get there by car in an hour but you should be there in 3 hours. The trick is that for me it's not saying much as I don't know how to apply this fact.

I prefer to handle distances in some context, when I can compare them between each other and especially when I can compare them with some known distance. For example, I know that you can go from Prague to Dresden, spend there a whole day and return back the same day. Comparing this with Kyiv I see that distance from Prague to Dresden is roughly the same as from Kyiv to Chernihiv. And I understand that one-day trip makes total sense. Or I can tell Bastei is pretty close to Dresden, it is closer than Boryspil' to Kyiv.

Development

To run distance-comparator locally I just run

python -m SimpleHTTPServer 8008

from the root project directory and go to http://localhost:8008 in browser.

Testing

To run automatic tests I go to http://localhost:8008/test/ in browser.

You can’t perform that action at this time.