understanding Google API

Are you thinking about building your own route? or are you already in progress? Talk to the experts in here and find out the best way to do things!

Moderator: Moderators

Locked
donwaun2
Getting the hang of things now
Posts: 12
Joined: Tue Jun 28, 2011 6:20 pm

understanding Google API

Post by donwaun2 »

hi,
I am trying to build a route from scratch and have been following a tutorial video called map overlay (No. 12)
It sounds easy when I watched it but have got stuck where it goes onto Static Maps API
I can turn this on but nothing seems to happen.
Help please, what is the next step?
shovel6coles
Getting the hang of things now
Posts: 20
Joined: Tue Apr 10, 2012 10:03 pm

Re: understanding Google API

Post by shovel6coles »

I don't know exactly what you can't achieve Don. Is it that you can't get any further than Static API or you can but can't access the API KEY? If it is the latter, then the tutorial that Trainsimulator sent out of which I obtained only yesterday, gave me problems too.

I selected Static Maps API but the expected box with the much needed gobbledygook API Key didn't show. What the writer of the tutorial failed to mention was to select SERVICES in the left hand menu list also, then you get the API KEY. I found this out just by watching some YT videos.


Hope that helps you out.
ryan51
Getting the hang of things now
Posts: 67
Joined: Fri Feb 15, 2013 1:42 pm
Location: Loughborough

Re: understanding Google API

Post by ryan51 »

Is the API free
User avatar
hertsbob
Very Active Forum Member
Posts: 4055
Joined: Fri Oct 19, 2007 6:11 pm

Re: understanding Google API

Post by hertsbob »

It is indeed.
"Smoke me a kipper, I'll be back for breakfast!"
Commander Arnold Judas Rimmer


Things have finally happened!
http://dereksiddle.blogspot.co.uk/
ryan51
Getting the hang of things now
Posts: 67
Joined: Fri Feb 15, 2013 1:42 pm
Location: Loughborough

Re: understanding Google API

Post by ryan51 »

Are you sure it's free as when I try to get the api it say's i've got to pay for it
User avatar
Irishrailguy
Very Active Forum Member
Posts: 1338
Joined: Sun Mar 21, 2010 8:58 pm
Location: Dublin, Ireland

Re: understanding Google API

Post by Irishrailguy »

ryan51 wrote:Are you sure it's free as when I try to get the api it say's i've got to pay for it
Go to the google developer's network, find the 'static map service' page and generate an API key which doesn't cost anything, just paste it into the field in TS and it'll work.

Turn on the static maps api here: https://cloud.google.com/console/projec ... /apiui/api

Then generate a key here: https://cloud.google.com/console/projec ... credential

Kev
ryan51
Getting the hang of things now
Posts: 67
Joined: Fri Feb 15, 2013 1:42 pm
Location: Loughborough

Re: understanding Google API

Post by ryan51 »

is it free to use though
User avatar
Irishrailguy
Very Active Forum Member
Posts: 1338
Joined: Sun Mar 21, 2010 8:58 pm
Location: Dublin, Ireland

Re: understanding Google API

Post by Irishrailguy »

ryan51 wrote:is it free to use though
Please re-read my post fully and you'll find your answer... Or you could actually try it out rather than ask a question that I've already answered :wink:

Kev
Locked

Return to “[TS] Route Building”