The slides and tutorials here are pretty neat. One should definitely check it out.
Here’s an example that I did.
Tomorrow’s goal is to be able to change the starting location using input box that takes in a city, returns the latatide and longitude, and sets that as the starting point. How that will work is to query the location through google maps api, and then parse the json request back to set the starting values.