Hi,
Is there a way to have a route result with graphic file included (like: .jpg, .png, etc.)?
Route result in static file
- krzysiek mbis
- Posts: 37
- Joined: Thu Aug 11, 2016 9:41 am
Route result in static file
Krzysiek Paziewski
.Net Developer/Team Leader at Marcos Bis
Katowice, Silesian District, Poland
.Net Developer/Team Leader at Marcos Bis
Katowice, Silesian District, Poland
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Route result in static file
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:
Best regards,
Bernd
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
Best regards,
Bernd
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...