Search found 139 matches

by Oliver Heilig
Wed Dec 06, 2017 11:29 am
Forum: PTV xServer.NET (Admin=OH)
Topic: c# example res/json web API ?
Replies: 14
Views: 28063

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. This d...
by Oliver Heilig
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: 8529

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
by Oliver Heilig
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: 8200

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 Cod...
by Oliver Heilig
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: 8876

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. Optimi...
by Oliver Heilig
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: 5873

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 below Not...
by Oliver Heilig
Fri Jul 21, 2017 11:50 am
Forum: PTV xServer.NET (Admin=OH)
Topic: WpfMap Control - map works slow
Replies: 2
Views: 6182

Re: WpfMap Control - map works slow

Hi,

i've updated the test tool, see

https://github.com/ptv-logistics/xserve ... erformance

Here you can test all the tweaks we're currently using for our remote client deployments.

Oli
by Oliver Heilig
Wed Jul 19, 2017 1:38 pm
Forum: PTV xServer.NET (Admin=OH)
Topic: Can we change the label color present on map ?
Replies: 2
Views: 7183

Re: Can we change the label color present on map ?

So here another option:

The Control has a hitten Dimmer-Gadget. But you have to Build your own Control-Layout to activate it, and it only manipulated the color of the background tiles. You can test it here (Project CustomLayout):

https://github.com/ptv-logistics/xservernet-bin

Oli
by Oliver Heilig
Thu Jul 13, 2017 12:59 pm
Forum: PTV xServer.NET (Admin=OH)
Topic: WpfMap Control - map works slow
Replies: 2
Views: 6182

Re: WpfMap Control - map works slow

Hi, an interactive map within Citrix or terminal services is generally very senitive to bandwidth. There are several factors which influence the VDI (= Virtual Desktop Infrastructure) performance. This sample: https://github.com/ptv-logistics/xservernet-bin/tree/master/VdiPerformance shows how these...
by Oliver Heilig
Thu Jun 22, 2017 6:55 am
Forum: PTV xServer.NET (Admin=OH)
Topic: Set ShapeCanvas.SetAnchor to bottom
Replies: 2
Views: 6348

Re: Set ShapeCanvas.SetAnchor to bottom

You can the the sources also here (ToursAndStopsMultiCanvas):

https://github.com/ptv-logistics/xservernet-bin
by Oliver Heilig
Thu Jun 22, 2017 6:52 am
Forum: PTV xServer.NET (Admin=OH)
Topic: Set ShapeCanvas.SetAnchor to bottom
Replies: 2
Views: 6348

Re: Set ShapeCanvas.SetAnchor to bottom

Hello Karol,

sorry there is no such option built-in. But you can set the Box of your icon accoringly. See http://devblog.ptvgroup.com/2013/08/08/ ... p-markers/