Hello Alex,
i must say this is not that simple out-of-the-box. It requires a layer-configuration which returns multiple language fields. This is not supported by the default configration of the TrafficInformation layer. However, there's an alternative "map&guide-internet" TrafficInfoLayer that ...
Search found 144 matches
- Mon Jan 08, 2018 6:46 pm
- Forum: PTV xRouteServer / DEV.Routing API
- Topic: Translate traffic information
- Replies: 7
- Views: 13074
- Fri Dec 22, 2017 1:16 pm
- Forum: PTV xMapServer / Dev.RasterMaps API
- Topic: Recommended geometry frameworks for mapping usecases
- Replies: 1
- Views: 11959
Re: Recommended geometry frameworks for mapping usecases
Some additions, with actual samples:
.NET (Framework)
Reading/Writing data-formats, Map-Rendering SharpMap https://www.nuget.org/packages/SharpMap/ .
Sample with xServer https://github.com/ptv-logistics/SharpMap.Widgets
JS
Simple mapping functions (geo-distance / pointInPolygon) Leaflet ...
.NET (Framework)
Reading/Writing data-formats, Map-Rendering SharpMap https://www.nuget.org/packages/SharpMap/ .
Sample with xServer https://github.com/ptv-logistics/SharpMap.Widgets
JS
Simple mapping functions (geo-distance / pointInPolygon) Leaflet ...
- Fri Dec 22, 2017 12:26 pm
- Forum: PTV Webclients (Ajax, Leaflet, OpenLayers, WMS, ...) (Admin=BWE)
- Topic: How to display/cover a map area by geo locations
- Replies: 2
- Views: 11150
Re: How to display/cover a map area by geo locations
Hi Prarakash,
think this isn't a possible with the ajax control out-of-the-box. It seems you need some GIS methods for your task, i.e. intersect your polygon (which is a convex hull?) with the polygon of the country border. This means you also need those country borders as polygons plus a geometric ...
think this isn't a possible with the ajax control out-of-the-box. It seems you need some GIS methods for your task, i.e. intersect your polygon (which is a convex hull?) with the polygon of the country border. This means you also need those country borders as polygons plus a geometric ...
- Mon Dec 11, 2017 3:12 pm
- Forum: PTV xServer.NET (Admin=OH)
- Topic: FormsMap Control and HighDPI settings
- Replies: 0
- Views: 5643
FormsMap Control and HighDPI settings
Hi,
some customers have reported issues with the xServer.NET FormMap control and HighDPI displays. Whenever the Map is displayed, the complete application gets scaled weirdly. I've digged into this issue and found that this can be reproduced simply by adding the Standard WinForms ElementHost ...
some customers have reported issues with the xServer.NET FormMap control and HighDPI displays. Whenever the Map is displayed, the complete application gets scaled weirdly. I've digged into this issue and found that this can be reproduced simply by adding the Standard WinForms ElementHost ...
- Fri Dec 08, 2017 2:17 pm
- Forum: PTV Webclients (Ajax, Leaflet, OpenLayers, WMS, ...) (Admin=BWE)
- Topic: Latest version of Leaflet supported by PTV components
- Replies: 4
- Views: 19323
Re: Latest version of Leaflet supported by PTV components
We don't support dedicated Leaflet-Clients for Leaflet > 0.7
If you are using Leaflet with xMap-1, we recommend using the WMS/Tile-Servlet, see
https://github.com/ptv-logistics/xserverjs/tree/master/boilerplate/xmap-1
If you need extended Layers, take a look at
https://github.com/ptv-logistics ...
If you are using Leaflet with xMap-1, we recommend using the WMS/Tile-Servlet, see
https://github.com/ptv-logistics/xserverjs/tree/master/boilerplate/xmap-1
If you need extended Layers, take a look at
https://github.com/ptv-logistics ...
- Wed Dec 06, 2017 11:29 am
- Forum: PTV xServer.NET (Admin=OH)
- Topic: c# example res/json web API ?
- Replies: 14
- Views: 87666
Re: c# example res/json web API ?
My recommendation is JSON.NET (https://www.newtonsoft.com/json). It's some kind of de-facto standard, even Microsoft uses in their projects. But there are many flavors for serializing and deserializing your objects, here are two:
The JavaScript way: You can use .NET anonymous / dynamic types ...
The JavaScript way: You can use .NET anonymous / dynamic types ...
- Tue Sep 12, 2017 4:02 pm
- Forum: PTV Webclients (Ajax, Leaflet, OpenLayers, WMS, ...) (Admin=BWE)
- Topic: Does PTV provide an ANGULAR2 component for rapid map dev?
- Replies: 3
- Views: 11131
Re: Does PTV provide an ANGULAR2 component for rapid map dev
Hi Bernd,
here's also a nice resource for initializing the xMapServer with
* Different Widgets (Leaflet, OL)
* Different xServers (xMap1, xMap2)
* Different Deployments (xserver-internet, on-premise)
https://ptv-logistics.github.io/xserverjs/#boilerplate
Oli
here's also a nice resource for initializing the xMapServer with
* Different Widgets (Leaflet, OL)
* Different xServers (xMap1, xMap2)
* Different Deployments (xserver-internet, on-premise)
https://ptv-logistics.github.io/xserverjs/#boilerplate
Oli
- Mon Sep 04, 2017 12:47 pm
- Forum: PTV xServer.NET (Admin=OH)
- Topic: Alternate solution to implement use case "Map and Market".
- Replies: 1
- Views: 10182
Re: Alternate solution to implement use case "Map and Market
The implementation should be the gold standard for rendering many polygons out-of a database.
I have the same code inside ASP apps, and it renderes several 10k polygons well, you can check the performance here:
https://github.com/ptv-logistics/SpatialTutorial/wiki
I've also tested the DemoCenter ...
I have the same code inside ASP apps, and it renderes several 10k polygons well, you can check the performance here:
https://github.com/ptv-logistics/SpatialTutorial/wiki
I've also tested the DemoCenter ...
- Tue Aug 22, 2017 10:53 am
- Forum: PTV xServer.NET (Admin=OH)
- Topic: How to add the large number of icons in map at once?
- Replies: 4
- Views: 11631
Re: How to add the large number of icons in map at once?
Generally that's a tough problem, and there's no simple answer for it. But you can classify the solutions bythese three categories:
Use POI-Clustering
This handles the problem by reducing the total count of elements which have to be created. But this may be not appropriate for every use case ...
Use POI-Clustering
This handles the problem by reducing the total count of elements which have to be created. But this may be not appropriate for every use case ...
- Fri Jul 28, 2017 10:37 am
- Forum: PTV xServer.NET (Admin=OH)
- Topic: Looking for solution to display active region in Map center
- Replies: 2
- Views: 8012
Re: Looking for solution to display active region in Map cen
Hi,
are you sure you're getting you points right? It works for me as excpected.
envelope.png
How i verified this:
[*] Downloaded the project https://github.com/ptv-logistics/SharpMap.Widgets
[*] Set SharpMap.Win as startup project
[*] at Form1::SelectedRegions_CollectionChanged change like ...
are you sure you're getting you points right? It works for me as excpected.
envelope.png
How i verified this:
[*] Downloaded the project https://github.com/ptv-logistics/SharpMap.Widgets
[*] Set SharpMap.Win as startup project
[*] at Form1::SelectedRegions_CollectionChanged change like ...