Travel Time App
Content:
- Misc. Information
- Setup Instruction
- Usage Instruction
Misc. Information
This page contains a short description on how to setup the Travel Time App for LaMetric,
for more Information about LaMetric visit lametric.com. This App is free, so feel free to
use it they way it was designed to. Any improper usage will cause a irreversible block.
There is no guarantee that this app will work now or in the future. You use this on your
own risk. Be aware that you need a google api key and respect the terms of google to use this app.
Current Version: 2
Author: Christian
Contact: [email protected]
Last Update: 12.09.2017
If you have any questions or wanna make me rich, give me a short message and I will send you
the details of my bank account ;-).
Setup Instruction
As this app uses Google Maps API you will need your personal API Code. You will need a google Account,
unless you already have one its now a good time to create one. (you will find several instructions for
that by using your preferred search engine. To get the api code follow this steps:
* go to https://developers.google.com/maps/documentation/distance-matrix/get-api-key and klick
"get key"
* login with your google account
* klick again on "get key"
* a popup will occur where you can select one of your projects or create a new one
* as you read this instruction you probably dont have a project, so create a new one
* give the project a name an klick on "create and enable api" it will take a moment
* after that you will get displayed your API key
* next you land on the page before (https://developers.google.com/maps/documentation/distance-matrix/get-api-key?refresh=1)
scroll down to the section "Detailed guide for users of the standard Google Maps Distance Matrix API"
and follow the instructions to enable the api and set some restrictions if needed.
* see also the information about limitations from google
* test your api key with a provided test url (dont forget to put your api key in the url)
* if you are here, and the google api return some values and no error message you are good to go
* use the app configuration to put the API Key, home and work address in and start the app
Usage Instruction
This app provides you with the estimated traffic time from your home to your work address.
In the morning hours it will display the time from home to work and in the afternoon from
work to home.
The App requires the following Input Parameters:
* Homeadress
* Workadress
* Google API Key
If you wish to adjust the time, probably if you want to know how traffic could be in 15 minutes
you can set optional the "offset" with a value from 0 (now) to 60 (in 1 hour).
You get the best results by entering the addresses like "route house number city country" without any comma
or other wired signs. Exercises first on google map, to see if google maps the correct address. Or feel free
to use gps coordinates.
Take care in this version it isnt possible to adjust the morning and evening window times. This will
follow probably in version 3.