pis #2
@ -23,6 +23,9 @@ async function fetchOrigDest() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function displayData(json) {
|
async function displayData(json) {
|
||||||
|
// Receives the JSON Respose ([{},{}]) containing one or more possible
|
||||||
|
// PIS codes. Display the code and the stops with a method of scrolling between them.
|
||||||
|
// Maybe as a table or a carousel?
|
||||||
log(`displayData: ${JSON.stringify(json)}`)
|
log(`displayData: ${JSON.stringify(json)}`)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user