(1): The other post:
(2): Good point: I need to have the data first and then visualize it.
The data will be obtained from the Open Street Map API. For any two given locations, I hope that the following information can be obtained from this Map API.
startLocation (which is a latitude, longitude pair), endLocation (which is also a latitude, longitude pair), startTimePoint, endTimePoint, shortestTimeRoute,
For the shortestTimeRoute, I hope that the data I can get, has the following format,
OSMnodes, bearings
I do not know how to get the data and what kinds of data I can get yet. Many thanks for your time and attention.