NOTICE: is being shutdown on 1st March 2024. Please use the OpenStreetMap Community Forum

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.,%s),pin-l-hairdresser+482(%s,%s)/%s,%s,17/1280x800.png?access_token=%s

The Direction API via URL sends a JSON, but I need the itinerary to be shown on the map.,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's gravatar image

accept rate: 0%

closed 26 Feb '16, 16:44

aseerel4c26's gravatar image

aseerel4c26 ♦

(25 Feb '16, 12:39) scai ♦

@scai: thanks for your answer!

(25 Feb '16, 13:46) Charlie18

@Charlie18: do you still have questions or is everything fine now?

(25 Feb '16, 19:58) aseerel4c26 ♦

@aseerel4c26 I'd say it's ok for now. Thanks!

(26 Feb '16, 10:24) Charlie18

The question has been closed for the following reason "See the linked "related question" above - answers there." by aseerel4c26 26 Feb '16, 16:44

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 25 Feb '16, 12:28

question was seen: 1,787 times

last updated: 26 Feb '16, 16:44

NOTICE: is being shutdown on 1st March 2024. Please use the OpenStreetMap Community Forum