Skip to content

Instantly share code, notes, and snippets.

@ryanisinallofus
Created September 24, 2014 20:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryanisinallofus/10c1a8f4248414b4940f to your computer and use it in GitHub Desktop.
Save ryanisinallofus/10c1a8f4248414b4940f to your computer and use it in GitHub Desktop.
<script>
Polymer('my-directions', {
getDirectionsOptions: function() {
var directionsOptions = this.super();
directionsOptions["waypoints"] = [{location:'Halifax, NS', stopover:false}, {location:'toronto, ont', stopover:false}];
// other options here
return mapOptions;
}
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment