Skip to content

Instantly share code, notes, and snippets.

@here-devblog-gists
Created November 14, 2016 16:16
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 here-devblog-gists/a6a54750bb5d31cbfa0101114eb57402 to your computer and use it in GitHub Desktop.
Save here-devblog-gists/a6a54750bb5d31cbfa0101114eb57402 to your computer and use it in GitHub Desktop.
HEREMap.prototype.onChangeSelectedRoute = function(route) {
var middlePointOfTheRoute = Utils.locationToString(route.routeLine.getBounds().getCenter());
this.searchForIcecreamShop(middlePointOfTheRoute);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment