Hello,
Is it possible to show the different "preferred route types" in different colors on the map but for the xServer2?
If it is possible, please send me one example from the request which we have to implement in the javascript file.
Thanks
Best Regards
xServer2 different colors - different preferred route types
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: xServer2 different colors - different preferred route ty
Hi and welcome in 2022!
I assume you want to perform something as decribed in this article about preferred routes.
The sample is based on a native MapRequest where you have access to all the rendering profile stuff via API.
With JavaScrip you usually use a more or less simple REST Url where the parameters cover only a small subset of all available engine features.
In an OnPremise environment you might want to create a local "rendering profile" based on all the fancy available parameters (example: national borders between federal states).
You could then refer to the profile via the REST URLs storedProfile parameter.
Long story short: there are two challenges to be solved:
1. definition of the proper logical rendering profile
2. check the proper workflow of how to "consider" that profile via your calls
Best regards,
Bernd
PS: I'll get back to you 1:1
I assume you want to perform something as decribed in this article about preferred routes.
The sample is based on a native MapRequest where you have access to all the rendering profile stuff via API.
With JavaScrip you usually use a more or less simple REST Url where the parameters cover only a small subset of all available engine features.
In an OnPremise environment you might want to create a local "rendering profile" based on all the fancy available parameters (example: national borders between federal states).
You could then refer to the profile via the REST URLs storedProfile parameter.
Long story short: there are two challenges to be solved:
1. definition of the proper logical rendering profile
2. check the proper workflow of how to "consider" that profile via your calls
Best regards,
Bernd
PS: I'll get back to you 1:1
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...