Hello,
and yet another sample. This time showing WinForms integration via WebView2 and interactive routing with maplibre-gl-directions.
Search found 144 matches
- Mon Nov 11, 2024 8:42 am
- Forum: PTV xServer.NET (Admin=OH)
- Topic: PTV Developer Vector Maps and Microsoft.NET?
- Replies: 2
- Views: 616
- Fri Nov 08, 2024 2:20 pm
- Forum: PTV xServer.NET (Admin=OH)
- Topic: Polyline with gradient line
- Replies: 1
- Views: 269
Re: Polyline with gradient line
Hi Bernd, i don't know this app in detail, but i would guess it uses MapLibre gadient lines . You can do fancy stuff with MapLibre ;) For WPF i found an old article from Charles Petzold , which in theory could be applied to the map control. There's another sample for custom poly lines with arrows al...
- Thu Nov 07, 2024 2:24 pm
- Forum: PTV xServer.NET (Admin=OH)
- Topic: PTV Developer Vector Maps and Microsoft.NET?
- Replies: 2
- Views: 616
Re: PTV Developer Vector Maps and Microsoft.NET?
Hi, the Server .NET Control cannot handle vector tiles, and there are no plans to support this. Since vector tiles is a standard primarily designed for web applications, i cannot recommend any out-of-the solutions for Windows clients, just some things i tried over the years. Commercial .NET map cont...
- Mon Oct 28, 2024 9:49 am
- Forum: PTV Webclients (Ajax, Leaflet, OpenLayers, WMS, ...) (Admin=BWE)
- Topic: Drag-And-Drop Routing with LEAFLET
- Replies: 2
- Views: 11718
Re: Drag-And-Drop Routing with LEAFLET
And this sample uses maplibre-gl and the maplibre-gl-directions plugin with developer maps and routing.
Oli
Oli
- Thu Oct 17, 2024 7:58 am
- Forum: PTV xServer.NET (Admin=OH)
- Topic: Map control with xServer 2 only (how to optimize performance)
- Replies: 1
- Views: 675
Re: Map control with xServer 2 only (how to optimize performance)
It is possible to skip the automatic initialization/probing by inserting the layers programmatically. xserver-1 * Initialize the xmap layers explictly, without automatic setup, snippet * A more lightweight variant is using the REST/API, snippet . This is more efficient if only the basemap layers are...
- Thu Jun 20, 2024 11:07 am
- Forum: PTV Webclients (Ajax, Leaflet, OpenLayers, WMS, ...) (Admin=BWE)
- Topic: Drag-And-Drop Routing with LEAFLET
- Replies: 2
- Views: 11718
Re: Drag-And-Drop Routing with LEAFLET
Hi Bernd,
better late then never. Leaflet drag&drop routing samples:
* PTV xServer2
* PTV Developer
Oli
better late then never. Leaflet drag&drop routing samples:
* PTV xServer2
* PTV Developer
Oli
- Mon Mar 18, 2024 12:50 pm
- Forum: PTV xServer.NET (Admin=OH)
- Topic: xServer.NET To xServer 2 Http Authentification
- Replies: 2
- Views: 6131
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...
- Tue Jan 09, 2024 3:01 pm
- Forum: PTV xServer.NET (Admin=OH)
- Topic: resources... where to drop them?
- Replies: 1
- Views: 3107
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...
- Fri Nov 17, 2023 10:46 am
- Forum: PTV xServer.NET (Admin=OH)
- Topic: Missing tooltips in PTV xServer.NET
- Replies: 1
- Views: 5626
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...
- 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: 5845
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.
Coordinates in 3rd party spatial reference systems can be transformed with the projections library, which is contained in the xServer.NET package.