Dear all,
the PTV Code Sample Browser is an interactive tutorial based onĀ JavaScript. Using this sample browser, you will easily develop your own web applications. Just select the preferred code sample and start to interact with the application by clicking the “Show Sample”-Button. How to test PTV xServer’ functionalities? See use case below.
Drag-and-drop routing
Read the short introduction to understand the usage of this sample.
Click into the PTV map twice to calculate automatically a route. Via mouse events, you are able to move dynamically the start, destination or selected via point. Hereby, the last current address list will be shown automatically. This highly interactive code sample illustrates the combination of client and server activities.
Are you interested how it works? Please check the source code which is also provided in a separated editor frame (right top corner: “edit source” button).You may edit the source code and revert to the original. So, don’t hesitate to use this opportunity to “play” with these interactive functions.
Do you have some notes how to improve the tutorial? Please contact our PTV xServer Support!
Kind regards from Karlsruhe,
Dr. Michael Nutto
Product Manager PTV xServer