Closed stefanocudini closed 1 year ago
query example: https://githubhot.com/repo/mfdz/OpenTripPlanner/issues/97
transportModes: [{mode: WALK},{mode: TRAM},{mode: SUBWAY},{mode: RAIL},{mode: BUS},{mode: FERRY},{mode: CABLE_CAR},{mode: GONDOLA},{mode: AIRPLANE}]```
modes work but is deprecated
{ plan( from: {lat: 45.08, lon: 7.54, address: "Arona GeoPos"}, to: {lat: 46.11, lon: 8.29, address: "Stazione DOMODOSSOLA GeoPos"}, numItineraries: 10000, date: "2022-06-18", time: "12:00:00", arriveBy: false, maxTransfers: 2, wheelchair: false, , modes: "WALK,TRAM,SUBWAY,RAIL,FERRY"
transportModes was ignored, now it work and I simplify the format as an array of strings:
transportModes: ["WALK","TRANSIT"]
this is equal to:
modes: "WALK,TRANSIT"
query example: https://githubhot.com/repo/mfdz/OpenTripPlanner/issues/97
modes work but is deprecated