Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
function HERERoute (map, platform, routeOptions) {
var router = platform.getRoutingService();
var onSuccess = function(result) {
console.log('Route found!', result);
var onError = function(error) {
console.error('Oh no! There was some communication error!', error);
router.calculateRoute(routeOptions, onSuccess, onError);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.