Hello I want to generate instantly an image showing a route between two points that I've chosen (this image will then be inserted in a video). On my computer, I've been using Mapbox JS API to display a set of directions, in particular their Directions API which is neat! But now I need a route from a user geolocation retrieved on the fly. With Mapbox URL API, this URL will show the two points, but no itinerary. The Direction API via URL sends a JSON, but I need the itinerary to be shown on the map. https://api.mapbox.com/v4/directions/mapbox.walking/2.345732,48.893782;2.353325,48.878329.json?access_token=..." I've been looking to OpenStreetMap, Mapquest, ... Maperitive is interesting: it's a Desktop app with Python API; you can import a GPX itinerary and then saves the image. I wonder if anyone has another option to say instantly "export an image with itinerary from Point A to Point B". Can't use Google Maps as they don't allow commercial use of the maps from their API. Thanks in advance! asked 25 Feb '16, 12:28 Charlie18 aseerel4c26 ♦ |
Related question: https://help.openstreetmap.org/questions/48283/create-image-of-map-and-route-on-a-mac-view-osm-data-and-import-kml-file. Maybe it already contains an useful answer for you.
@scai: thanks for your answer!
@Charlie18: do you still have questions or is everything fine now?
@aseerel4c26 I'd say it's ok for now. Thanks!