globalavocado / one-dimensional-mapdirections

generate a one-dimensional map from two end points

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

one-dimensional maps

objectives

This web application uses the Google Maps Directions API to calculate walking directions, then formats the results and can send them to a printer. Eventually it will also be able to generate a one-dimensional map.

wish list:

  • draw a vertical scale which includes the turning points, where the points and labels are spaced according to the distances, thereby generating a one-dimensional map
  • use the Cyclestreets API instead of Google Directions
  • prevent the print window from closing when the print preview is closed (Firefox and Chrome)

technologies used:

instructions

You will need your own Google API key for this app to work. Once you have generated one as per these instructions, search for YOUR_API_KEY in googledirections.html and replace it with your own.

About

generate a one-dimensional map from two end points


Languages

Language:JavaScript 37.2%Language:CSS 34.8%Language:HTML 28.0%