How to see the route direction if start and end are outside of image

7 posts / 0 new
Last post
sgeulette
How to see the route direction if start and end are outside of image

Hi,

Following an itinerary I get images of all waypoints with a high zoom level to show exactly the waypoints details (roadbook).

The route is defined with start and end (from previous and next waypoints coordinates).

But in most case those coordinates are outside the image.

Thus the route direction is not shown.

Is it possible to add this information ? Arrows on route ? The route separated in 2 segments with different colors (start to center and center to end) ?

Thanks in advance

Stephan


MQBrianCoakley
Can you post a sample request
Can you post a sample request demonstrating this issue?

sgeulette
Hi,

Hi,

here is one request

https://www.mapquestapi.com/staticmap/v5/map?key=...&center=50.565331,4....@2x&start=50.558815,4.865271&end=50.562844,4.834213

Regards


MQBrianCoakley
If this is a maneuver url
If this is a maneuver url from a route request, it is intended to show the location of the maneuver rather than the points or maneuvers before and after in the route.

sgeulette
Having the possibility to

Having the possibility to rotate the map is another solution: giving a bearing so that start and center are vertically aligned.


MQBrianCoakley
Map rotation is not available
Map rotation is not available in the static map api.

MQBrianCoakley
Direction indication is not

Direction indication is not available in the static map api.

 

You may be able to grab the shape points from the original route maneuver and create one color approaching the maneuver center and another color leaving the maneuver center.