Page 1 of 1
Route result in static file
Posted: Mon Aug 05, 2019 10:32 am
by krzysiek mbis
Hi,
Is there a way to have a route result with graphic file included (like: .jpg, .png, etc.)?
Re: Route result in static file
Posted: Mon Aug 05, 2019 10:39 am
by Bernd Welter
Hello Krzysiek,
if you want to consume a image file e.g. with the total route or the destination area you have to get the polygon and further required attributes from the routinr response : then use this info to send a request to xMap which can return the image.
Attention:
state-of-the-art applications use the xMap as a background engine and paint their own content such as locations, routing polygons and so on on top of the picture they got from xMap:
- calculate route via xRoute and ask for result list options such as polygon (and more)
- create a basic mapping call to xMap (include image in response, not just the URL of the image)
- paint on top whatever you want
Which approach fits your requiremen ts best depends on your programming environment.
Best regards,
Bernd