Search found 147 matches

by Oliver Heilig
Fri Nov 05, 2021 4:45 pm
Forum: PTV xServer.NET (Admin=OH)
Topic: Supported .NET Versions
Replies: 1
Views: 8559

Re: Supported .NET Versions

Hello Bernd, the xServer .NET Control Supports .NET Framework >= 3.5. While Microsoft somehow prolonged the live span of WPF/Winforms for .NET Core , there are no plans for a Core version of the control, and honestly i think this won't be a sustainable solution for future client applications. I did ...
by Oliver Heilig
Sat Oct 23, 2021 1:39 pm
Forum: PTV xMapServer
Topic: Visualization of Traffic-Flows
Replies: 3
Views: 6793

Re: Visualization of Traffic-Flows

Hi Max, technically you have three components for these visualizations: A vizualization libray, a map control and a basemap tile provider. You can use nearly any combination, e.g. (deckgl/d3) - (maplibre/leaflet) - (VectorMaps/RasterMaps) I adapted some samples from https://deck.gl/examples/ visuali...
by Oliver Heilig
Fri Oct 01, 2021 4:10 pm
Forum: PTV xServer.NET (Admin=OH)
Topic: FormsMap.XMapUrl exceptions assigning the xMapServer URL
Replies: 6
Views: 13681

Re: FormsMap.XMapUrl exceptions assigning the xMapServer URL

Hello Pedro, do i understand you right, your program is running, but you see exceptions in the console? I have debugged the the samples with "All Exceptions", and i think they come from the "intelligent" Uri-detection. This guesses the correct uri scheme and xserver version. I th...
by Oliver Heilig
Mon Mar 15, 2021 4:48 pm
Forum: PTV xServer.NET (Admin=OH)
Topic: c# example res/json web API ?
Replies: 14
Views: 24303

Re: c# example res/json web API ?

Hello Stefan, you can find the generated code in the attachment at https://xserver.ptvgroup.com/forum/viewtopic.php?f=14&t=733#p3634 But i think i have found the problem: The latest version uses a new beta C#-generator which seems to cause this problem. https://github.com/Azure/autorest.csharp Y...
by Oliver Heilig
Mon Mar 15, 2021 4:19 pm
Forum: PTV xServer.NET (Admin=OH)
Topic: c# example res/json web API ?
Replies: 14
Views: 24303

Re: c# example res/json web API ?

Hello Stefan,

this seems to be a problem of the latest autorest version, we will check this. But you can also use my sample for xServer 2.19. The generated code contains methods for all services, for example

xServer.CalculateRoute
xServer.SearchLocations

Oli
by Oliver Heilig
Wed Jul 08, 2020 1:45 pm
Forum: PTV xServer.NET (Admin=OH)
Topic: Multi-lingual Labels and Traffic Incidents tooltip text
Replies: 13
Views: 16650

Re: Multi-lingual Labels and Traffic Incidents tooltip text

Hi, i have updated the sample https://github.com/ptv-logistics/xserver.net-samples/tree/master/FeatureLayers for different message languages. Note: This only affects the xServer messages itself, not the caption of the Tooltip-Labels (which are controlled by the CurrentUICulture), and not the transfo...
by Oliver Heilig
Sat Jun 13, 2020 3:30 pm
Forum: PTV xServer.NET (Admin=OH)
Topic: Traffic jam updates not refreshing properly in Map
Replies: 5
Views: 7908

Re: Traffic jam updates not refreshing properly in Map

Hello Niren, the methods you mention refer on xMapserver-2, your screenshots indicate you are using xMapServer-1. The reference implementation in https://github.com/ptv-logistics/xserver.net-samples xserver-1: FeatureLayers xserver-2: Xmap2LayerFactoryTest For xmap-1 to update the FeatureLayer for t...
by Oliver Heilig
Fri Jun 12, 2020 7:44 am
Forum: PTV xServer.NET (Admin=OH)
Topic: Traffic jam updates not refreshing properly in Map
Replies: 5
Views: 7908

Re: Traffic jam updates not refreshing properly in Map

This looks more like a refresh problem on the client. The background-tiles (lines) are stored in-memory, and it doesn't seem to refresh. Assuming you are using the implementation for xserver-1 from the sample "FeatureLayers" here https://github.com/ptv-logistics/xserver.net-samples * Do yo...
by Oliver Heilig
Wed May 13, 2020 1:08 pm
Forum: PTV xServer.NET (Admin=OH)
Topic: c# example res/json web API ?
Replies: 14
Views: 24303

Re: c# example res/json web API ?

Hello, it's me again, the xServer-2 OpenAPI specification is now final. To create a C# client via autorest : npm install -g autorest autorest --input-file=https://xserver2-europe-eu.cloud.ptvgroup.com/services/openapi/2.19/swagger.json --csharp --namespace=XServerClient --generate-empty-classes I ha...
by Oliver Heilig
Tue May 05, 2020 4:01 pm
Forum: PTV xServer.NET (Admin=OH)
Topic: Pre-release 1.7.6.0 - Version 1.7.6 available
Replies: 2
Views: 5384

Re: Pre-release 1.7.6.0 - Version 1.7.6 available

OK, i must admit the last post caused some annoyance. The effect of the LocalOffset-property is hard to visualize with static images. The problem only occurs for zoom levels which go beyond the maximum level supported by xMap itself (> 20). I made a video which should clarify this https://youtu.be/Q...