Search found 148 matches

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

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

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/
by Oliver Heilig
Wed May 31, 2017 3:43 pm
Forum: PTV xServer.NET (Admin=OH)
Topic: Segments drawn on map
Replies: 4
Views: 9452

Re: Segments drawn on map

Hello Giovanni,

i don't think this is possible, xMapServer1 doesn't support real alpha blending. But you can set the opacity of the XYNLayer.

Oli
by Oliver Heilig
Wed May 31, 2017 10:30 am
Forum: PTV xServer.NET (Admin=OH)
Topic: Can we change the label color present on map ?
Replies: 2
Views: 6974

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

Hi, first you can try another profile with slightly other label colors. I think gravelpit has some lighter colored labels https://ptv-logistics.github.io/xserverjs/premium-samples/lrm-xserver/xserver-1/ If you have a custom xServer installation you also could try to modify the render.ini in the conf...
by Oliver Heilig
Tue May 30, 2017 2:21 pm
Forum: PTV xServer.NET (Admin=OH)
Topic: Segments drawn on map
Replies: 4
Views: 9452

Re: Segments drawn on map

Hi Giovanni,

it is possible to add an xServer.NET Layer which internally invokes xMap-Requests with a Custom Layer. I've added a sample "XYNSegments" to

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

Oli
by Oliver Heilig
Wed May 17, 2017 12:23 pm
Forum: PTV xServer.NET (Admin=OH)
Topic: Setting the background color of map.
Replies: 2
Views: 5945

Re: Setting the background color of map.

Hello webdirekt, sorry for the late answer, but this is a tricky one. Of course you can set the opacity of the basemap layers to reduce the background, or you can draw a semi-opaque rectangle on-top of the basemap-layers. But if you really want to highlight a distinct polygon against the background,...
by Oliver Heilig
Wed May 03, 2017 11:29 am
Forum: PTV xServer.NET (Admin=OH)
Topic: Resolution/.Net window Issues
Replies: 3
Views: 7461

Re: Resolution/.Net window Issues

Hello Clement,

the map itself is just a control. It doesn't change the layout of the host window. For me it looks like the map is presented in an own window, and this changes the layout of the host-application window (in this case incorrectly).

Oliver
by Oliver Heilig
Mon Apr 03, 2017 12:29 pm
Forum: PTV xServer.NET (Admin=OH)
Topic: ZoomEvent / MouseWheel
Replies: 3
Views: 7347

Re: ZoomEvent / MouseWheel

ok, in your case i would catch the ViewPortEndChanged-Event. Then you can get the zoom level of the map and expand your icons. With the MapViewPort-Events you can update your data depending on the map zoom and center. ViewPortChanged.png There's also a "Clustering" Demo in the DemoCenter w...
by Oliver Heilig
Mon Apr 03, 2017 9:38 am
Forum: PTV xServer.NET (Admin=OH)
Topic: ZoomEvent / MouseWheel
Replies: 3
Views: 7347

Re: ZoomEvent / MouseWheel

Hello Peter, do you want to modify the behavious of the mouse-wheel, or just get a notification when the user interacts on the map? To get the map-navagaion-events, you can catch the ViewPortBegin/While/EndChanged-Events. ViewportBeginChanged="Map_ViewportBeginChanged" These will be fired ...
by Oliver Heilig
Wed Mar 22, 2017 2:27 pm
Forum: PTV xServer.NET (Admin=OH)
Topic: Codesample xMap2 with MapControl available?
Replies: 1
Views: 5885

Re: Codesample xMap2 with MapControl available?

Oookay, Here's the sample how to use xMapServer(-internet)-2 with xServer.NET. XMap2.png You can download the sample program XSTwo.zip or get the source code at https://github.com/ptv-logistics/xservernet-bin (XSTwo). Basic considerations The sample code uses the xMapServer-2 tile-api with the xServ...