Skip to content

Instantly share code, notes, and snippets.

View cerico's full-sized avatar
🌊
doing lines of javascript innit

garethrobertlee cerico

🌊
doing lines of javascript innit
View GitHub Profile
// from and to are objects that live somewhere else (for examples sake)
uiGmapGoogleMapApi.then(function(maps){
var directionsService = new maps.DirectionsService();
var request = {
origin: new maps.LatLng(
from.lat(),
from.lng()
),