Skip to content

Instantly share code, notes, and snippets.

@lene
Last active March 20, 2018 14:26

Revisions

  1. lene revised this gist Mar 20, 2018. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion here.js
    Original file line number Diff line number Diff line change
    @@ -9,7 +9,7 @@ var ui = mobility.createDefaultUI();
    mobility.route({
    dep: {YOUR_START_POINT}, // <-- ENTER YOUR START POINT HERE
    arr: [41.844238,-87.638862],
    time: '2018-02-01T07:30:00',
    time: '2018-03-20T07:30:00',
    graph: 1,
    maneuvers: 1
    });
  2. lene created this gist Mar 8, 2018.
    15 changes: 15 additions & 0 deletions here.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,15 @@
    var mobility = new H.Mobility({
    map: map,
    app_id: '{YOUR_APP_ID}', // <-- ENTER YOUR APP ID HERE
    app_code: '{YOUR_APP_CODE}', // <-- ENTER YOUR APP CODE HERE
    });

    var ui = mobility.createDefaultUI();

    mobility.route({
    dep: {YOUR_START_POINT}, // <-- ENTER YOUR START POINT HERE
    arr: [41.844238,-87.638862],
    time: '2018-02-01T07:30:00',
    graph: 1,
    maneuvers: 1
    });