Google Static Map API & Direction API are needed
python packages :
- urllib
- PIL
findDirectionOfNowToDestination(self, origin, dest, mode = "transit", departure_time = "now")
- using Direction API to find direction of origin to destination Format : (Longitude,Latitude)
- return : json response from direction api
jsonPathParsing(self, jsonPath)
- using parser to parsing json response into needed format
- return : path string format
drawImageWithJsonPath(self, stepList, center, zoom = 17, maptype = "roadmap", size = "600x300", color = "0x0000ff", weight = 3)
- draw and save image into local drive
- return : image binary data
A. Dongguk university to Seoul Station Using encoded polylines
B. Dongguk university to Seoul Station Using longitude latitude steps
C. It is not accurate in case of zooming too much.. TODO
- draw map with heading. -> Similar to navigation mode
- draw road map poly lanes fit into actual road