Search found 147 matches

by Oliver Heilig
Mon Mar 18, 2024 12:50 pm
Forum: PTV xServer.NET (Admin=OH)
Topic: xServer.NET To xServer 2 Http Authentification
Replies: 2
Views: 517

Re: xServer.NET To xServer 2 Http Authentification

Hello Jürgen, looks like the XMapCredentials only works with xsi token authentication and not with generic basic auth for xMap-2. What should work is setting the basic auth header using the ModifyRequest delegate; formsMap.XMapUrl = "http://xserver-2:50000/"; LayerFactory.ModifyRequest = r...
by Oliver Heilig
Tue Jan 09, 2024 3:01 pm
Forum: PTV xServer.NET (Admin=OH)
Topic: resources... where to drop them?
Replies: 1
Views: 1179

Re: resources... where to drop them?

Hello Bernd, Here the the list of the assemblies contained in the binarie zip or nuget package . de/Ptv.XServer.Controls.Map.resources.dll Satellite assembly containing localized texts in german. For example: This will display "Kartenebenen" instead of "Layers" in the layers list...
by Oliver Heilig
Fri Nov 17, 2023 10:46 am
Forum: PTV xServer.NET (Admin=OH)
Topic: Missing tooltips in PTV xServer.NET
Replies: 1
Views: 3673

Re: Missing tooltips in PTV xServer.NET

Hi Bernd, i am also experiencing this problem now on my Win11 machine. Looks like MS messed around with the WPF tooltip handling, as there are several similar reports lately. As far as i can see this affects polylines on the map, and it cannot be fixed in the control itself. Luckily the MouseEnter/M...
by Oliver Heilig
Tue May 23, 2023 8:45 am
Forum: PTV xServer.NET (Admin=OH)
Topic: Classes for coordinaten Transformation (e.g. Mercator to Geodecimal)
Replies: 1
Views: 3735

Re: Classes for coordinaten Transformation (e.g. Mercator to Geodecimal)

Fyi, if you need to transform other "PTV coordinate formats", you can also copy this snippet.

Coordinates in 3rd party spatial reference systems can be transformed with the projections library, which is contained in the xServer.NET package.
by Oliver Heilig
Tue Feb 07, 2023 11:02 am
Forum: PTV xServer.NET (Admin=OH)
Topic: xMap2-preferredRouteTypes in .NET and Xmap2LayerFactory
Replies: 3
Views: 4177

Re: xMap2-preferredRouteTypes in .NET and Xmap2LayerFactory

Hey Bernd, looks like the preferredRouteTypes cannot be set by the layerFactory. Though there's a ModifyRequest event, but this is more intended to add http headers. I have added a new property , so you can set it like. layerFactory.PreferredRouteTypes.Add("BK_2"); If you want it as new nu...
by Oliver Heilig
Mon Nov 14, 2022 10:47 am
Forum: PTV xServer.NET (Admin=OH)
Topic: Custom symbols
Replies: 2
Views: 13353

Re: Custom symbols

Hi Bernd,

yes you can design arbitrary elements in Xaml and bind properties like colors and texts to it. See this demo for an actual implementation.

Oli
Custom Xaml design
Custom Xaml design
by Oliver Heilig
Mon Oct 10, 2022 10:50 am
Forum: PTV xServer.NET (Admin=OH)
Topic: How to use PTV mapping APIs in a .NET6 Winform project?
Replies: 3
Views: 4473

Re: How to use PTV mapping APIs in a .NET6 Winform project?

.NET 5/6 means .NET Core. The xServer control is .NET Framework only.
by Oliver Heilig
Fri Sep 23, 2022 4:02 pm
Forum: PTV xServer.NET (Admin=OH)
Topic: c# example res/json web API ?
Replies: 14
Views: 23815

Re: c# example res/json web API ?

For your information:

Since the installation and usage of the autorest generator tool can be quite troublesome in some environments, we now also provide a download of the generated source code as part of the xServer C# client bundle.

Oli
by Oliver Heilig
Fri Jun 10, 2022 8:53 am
Forum: PTV xServer.NET (Admin=OH)
Topic: FormsMap.XMapUrl exceptions assigning the xMapServer URL
Replies: 6
Views: 13467

Re: FormsMap.XMapUrl exceptions assigning the xMapServer URL

Hello Pedro, this looks like the number of (ephermal) connections isn't enough. Adding a ServicePointManager.DefaultConnectionLimit = 64; at your application startup for example increases the default limit and fixes the timeout. I would generally recommend to specify the limit, the control itself do...