• Advanced Line Styling to visualize the direction of Routes and Tours

    We were asked how to indicate the direction for a route or a tour using the shape layer. We’ve built a sample for it which demonstrates two options:

    1. Use a stroked MapPolyline and animate the StrokeDashOffset property. This technique is also used at the RoutingDemo of the demo center application.…

    Read more

  • How to implement custom MapShapes

    A sample which shows how to implement a custom shape type using the example of arrows between locations. We’ve adopted Charles Petzold’s WPF arrow sample  to work with geographic coordinates.

    Download application, x-zip-compressed:

    For any questions please contact the PTV xServer Support Team.…

    Read more

  • Use your own xMap Rendering Styles with PTV xServer .NET

    • Create your own rendering configuration (e.g. myRender.ini). You find the description of the format in the PTV xMap Server documenation
    • Copy the xmap-ajax-bg.properties and rename it (e.g. xmap-ajax-bg-myprofile.properties)
    • Change the entry for the rendering profile in this file, (e.g.

    Read more

  • Howto create your own webservice clients for PTV xServers

    Some time ago the PTV xServer development team was asked whether it was possible to create a web service client without our provided java clients and the bundled cxf framework.
    The simple answer is: Yes! Those who would like to take the adventure and try it themselves should read on…

    What you need for this

    The prerequisites for this little sample are the following:

    • A JDK 6, or newer,
    • A Maven2 or Maven3 installation,
    • PTV xRoute Server (the sample runs with xRoute 1.16 but it should work with older versions too)

    Create a Maven project

    First of all we create a new directory and set up a Maven project file named pom.xml

    Read more