Created
          February 26, 2019 10:29 
        
      - 
      
- 
        Save stoefln/785975e9f917f3ef66b47298e6acceb0 to your computer and use it in GitHub Desktop. 
    Test DirectionsRoute
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | { | |
| "geometry":"gkg~mA{zsbCkCgE{m@vj@{Tsg@sNc`@gO_]~CsD", | |
| "routeOptions":{ | |
| "baseUrl":"dumyUrllllll", | |
| "user":"dummyUserrrrr", | |
| "profile":"dummyProfile....", | |
| "coordinates":[ | |
| ], | |
| "geometries":"dummyGeometries", | |
| "voice_instructions":true, | |
| "banner_instructions":true, | |
| "access_token":"dummyAccessToken", | |
| "uuid":"dummyRequestUuid" | |
| }, | |
| "legs":[ | |
| { | |
| "steps":[ | |
| { | |
| "intersections":[ | |
| { | |
| "entry":[ | |
| ], | |
| "bearings":[ | |
| ], | |
| "location":[ | |
| 2.15699, | |
| 41.40666 | |
| ] | |
| } | |
| ], | |
| "driving_side":"right", | |
| "geometry":"gkg~mA{zsbCkCgE", | |
| "mode":"driving", | |
| "maneuver":{ | |
| "bearing_after":0, | |
| "bearing_before":0, | |
| "location":[ | |
| 2.15699, | |
| 41.40666 | |
| ], | |
| "modifier":"straight", | |
| "type":"depart", | |
| "instruction":"Dem Straßenverlauf von Carrer de la Providència folgen" | |
| }, | |
| "weight":11.0, | |
| "duration":9.9, | |
| "name":"Carrer de la Providència", | |
| "distance":11.0, | |
| "voiceInstructions":[ | |
| { | |
| "distanceAlongGeometry":11.0, | |
| "announcement":"Links abbiegen auf Carrer de Vilafranca", | |
| "ssmlAnnouncement":"<speak><amazon:effect name=\"drc\"><prosody rate=\"1.08\">Links abbiegen auf Carrer de Vilafranca</prosody></amazon:effect></speak>" | |
| } | |
| ], | |
| "bannerInstructions":[ | |
| { | |
| "distanceAlongGeometry":11.0, | |
| "primary":{ | |
| "text":"Carrer de Vilafranca", | |
| "components":[ | |
| { | |
| "text":"Carrer de Vilafranca", | |
| "type":"text" | |
| } | |
| ], | |
| "type":"turn", | |
| "modifier":"left" | |
| }, | |
| "secondary":null, | |
| "sub":{ | |
| "text":"Carrer de Martí", | |
| "components":[ | |
| { | |
| "text":"Carrer de Martí", | |
| "type":"text" | |
| } | |
| ], | |
| "type":"turn", | |
| "modifier":"right" | |
| } | |
| } | |
| ] | |
| }, | |
| { | |
| "intersections":[ | |
| { | |
| "entry":[ | |
| ], | |
| "bearings":[ | |
| ], | |
| "location":[ | |
| 2.15709, | |
| 41.40673 | |
| ] | |
| } | |
| ], | |
| "driving_side":"right", | |
| "geometry":"sog~mAcatbC{m@vj@", | |
| "mode":"driving", | |
| "maneuver":{ | |
| "bearing_after":0, | |
| "bearing_before":0, | |
| "location":[ | |
| 2.15709, | |
| 41.40673 | |
| ], | |
| "modifier":"left", | |
| "type":"turn", | |
| "instruction":"Links abbiegen auf Carrer de Vilafranca" | |
| }, | |
| "weight":101.5, | |
| "duration":26.1, | |
| "name":"Carrer de Vilafranca", | |
| "distance":101.5, | |
| "voiceInstructions":[ | |
| { | |
| "distanceAlongGeometry":80.0, | |
| "announcement":"Rechts abbiegen auf Carrer de Martí", | |
| "ssmlAnnouncement":"<speak><amazon:effect name=\"drc\"><prosody rate=\"1.08\">Rechts abbiegen auf Carrer de Martí</prosody></amazon:effect></speak>" | |
| } | |
| ], | |
| "bannerInstructions":[ | |
| { | |
| "distanceAlongGeometry":101.5, | |
| "primary":{ | |
| "text":"Carrer de Martí", | |
| "components":[ | |
| { | |
| "text":"Carrer de Martí", | |
| "type":"text" | |
| } | |
| ], | |
| "type":"turn", | |
| "modifier":"right" | |
| }, | |
| "secondary":null, | |
| "sub":{ | |
| "text":"Carrer del Torrent de les Flors", | |
| "components":[ | |
| { | |
| "text":"Carrer del Torrent de les Flors", | |
| "type":"text" | |
| } | |
| ], | |
| "type":"turn", | |
| "modifier":"right" | |
| } | |
| } | |
| ] | |
| }, | |
| { | |
| "intersections":[ | |
| { | |
| "entry":[ | |
| ], | |
| "bearings":[ | |
| ], | |
| "location":[ | |
| 2.15639, | |
| 41.40748 | |
| ] | |
| } | |
| ], | |
| "driving_side":"right", | |
| "geometry":"o~h~mAkurbCwt@wfB", | |
| "mode":"driving", | |
| "maneuver":{ | |
| "bearing_after":0, | |
| "bearing_before":0, | |
| "location":[ | |
| 2.15639, | |
| 41.40748 | |
| ], | |
| "modifier":"right", | |
| "type":"turn", | |
| "instruction":"Rechts abbiegen auf Carrer de Martí" | |
| }, | |
| "weight":168.3, | |
| "duration":40.3, | |
| "name":"Carrer de Martí", | |
| "distance":168.3, | |
| "voiceInstructions":[ | |
| { | |
| "distanceAlongGeometry":80.0, | |
| "announcement":"Rechts abbiegen auf Carrer del Torrent de les Flors, T:then Ziel erreicht", | |
| "ssmlAnnouncement":"<speak><amazon:effect name=\"drc\"><prosody rate=\"1.08\">Rechts abbiegen auf Carrer del Torrent de les Flors, T:then Ziel erreicht</prosody></amazon:effect></speak>" | |
| } | |
| ], | |
| "bannerInstructions":[ | |
| { | |
| "distanceAlongGeometry":168.3, | |
| "primary":{ | |
| "text":"Carrer del Torrent de les Flors", | |
| "components":[ | |
| { | |
| "text":"Carrer del Torrent de les Flors", | |
| "type":"text" | |
| } | |
| ], | |
| "type":"turn", | |
| "modifier":"right" | |
| }, | |
| "secondary":null, | |
| "sub":{ | |
| "text":"Ziel erreicht", | |
| "components":[ | |
| { | |
| "text":"Ziel erreicht", | |
| "type":"text" | |
| } | |
| ], | |
| "type":"arrive" | |
| } | |
| } | |
| ] | |
| }, | |
| { | |
| "intersections":[ | |
| { | |
| "entry":[ | |
| ], | |
| "bearings":[ | |
| ], | |
| "location":[ | |
| 2.15805, | |
| 41.40834 | |
| ] | |
| } | |
| ], | |
| "driving_side":"right", | |
| "geometry":"gtj~mAc}ubC??", | |
| "mode":"driving", | |
| "maneuver":{ | |
| "bearing_after":0, | |
| "bearing_before":0, | |
| "location":[ | |
| 2.15805, | |
| 41.40834 | |
| ], | |
| "modifier":"right", | |
| "type":"turn", | |
| "instruction":"Rechts abbiegen auf Carrer del Torrent de les Flors" | |
| }, | |
| "weight":11.4, | |
| "duration":2.3, | |
| "name":"Carrer del Torrent de les Flors", | |
| "distance":11.4, | |
| "voiceInstructions":[ | |
| { | |
| "distanceAlongGeometry":11.4, | |
| "announcement":"Ziel erreicht", | |
| "ssmlAnnouncement":"<speak><amazon:effect name=\"drc\"><prosody rate=\"1.08\">Ziel erreicht</prosody></amazon:effect></speak>" | |
| } | |
| ], | |
| "bannerInstructions":[ | |
| { | |
| "distanceAlongGeometry":11.4, | |
| "primary":{ | |
| "text":"Ziel erreicht", | |
| "components":[ | |
| { | |
| "text":"Ziel erreicht", | |
| "type":"text" | |
| } | |
| ], | |
| "type":"arrive" | |
| }, | |
| "secondary":null | |
| } | |
| ] | |
| }, | |
| { | |
| "intersections":[ | |
| { | |
| "entry":[ | |
| ], | |
| "bearings":[ | |
| ], | |
| "location":[ | |
| 2.15814, | |
| 41.40826 | |
| ] | |
| } | |
| ], | |
| "driving_side":"right", | |
| "geometry":"goj~mAwbvbC??", | |
| "mode":"driving", | |
| "maneuver":{ | |
| "bearing_after":0, | |
| "bearing_before":0, | |
| "location":[ | |
| 2.15814, | |
| 41.40826 | |
| ], | |
| "type":"arrive", | |
| "instruction":"Ziel erreicht" | |
| }, | |
| "weight":0.0, | |
| "duration":0.0, | |
| "name":"Ziel erreicht", | |
| "distance":0.0, | |
| "voiceInstructions":[ | |
| ], | |
| "bannerInstructions":[ | |
| ] | |
| } | |
| ], | |
| "summary":"GraphHopper Route 0", | |
| "weight":78.6, | |
| "duration":78.6, | |
| "distance":292.3 | |
| } | |
| ], | |
| "weight_name":"routability", | |
| "weight":64.8, | |
| "duration":78.6, | |
| "distance":292.3, | |
| "voiceLocale":"en" | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment