Search found 139 matches

by Oliver Heilig
Thu Jun 20, 2024 11:07 am
Forum: PTV Webclients (Ajax, Leaflet, OpenLayers, WMS, ...) (Admin=BWE)
Topic: Drag-And-Drop Routing with LEAFLET
Replies: 1
Views: 10766

Re: Drag-And-Drop Routing with LEAFLET

Hi Bernd,

better late then never. Leaflet drag&drop routing samples:

* PTV xServer2
* PTV Developer

Oli
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: 5490

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: 2632

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: 5130

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: 5321

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: 6040

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: 15077

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: 6266

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: 27975

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