Category: Technical Notes
-
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.…
-
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:
- MapArrowDemo (zip file, 202 kilobyte)
- MapArrowDemoSrc (zip file, 208 kilobyte)
For any questions please contact the PTV xServer Support Team.…
-
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.
-
Multi-touch gestures for PTV xServer .NET
One of our collegues attended at Microsoft Build Developer Conference and came home with an Acer Iconia W3 and a Surface Pro tablet. So we could test PTV xServer .NET with multi-touch on Windows 8. We’ve added a pinch-zoom function, so multi-touch will be fully supported in the next version.…
-
Use Bing maps – How to insert satellite imagery
Downloading Bing map tiles from Microsoft is available for PTV Developer Components. Avoiding misunderstandings only satellite imagery is downloadable in order to combine these map tiles with PTV Maps.
The document we uploaded to the PTV Components customer area (go to customer area > PTV xServer > documents) describes what to do in order to integrate satellite imagery e.g.…
-
Ways to integrate a touch-friendly PTV xServer map for the Windows 8 UI
The “Windows 8 Modern UI” (formerly known as “Metro”) defines a new programming model for apps which supports tablets and other touch devices.
Accessing xServers from these apps is simple: Just use SOAP with C#/VB or the new JSON API (see blog post of September 2012) with JavaScript to access the xServer functions directly from a Windows 8 app.…