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 which ...
Search found 144 matches
- Mon Apr 03, 2017 12:29 pm
- Forum: PTV xServer.NET (Admin=OH)
- Topic: ZoomEvent / MouseWheel
- Replies: 3
- Views: 9750
- Mon Apr 03, 2017 9:38 am
- Forum: PTV xServer.NET (Admin=OH)
- Topic: ZoomEvent / MouseWheel
- Replies: 3
- Views: 9750
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 on all ...
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 on all ...
- Wed Mar 22, 2017 2:27 pm
- Forum: PTV xServer.NET (Admin=OH)
- Topic: Codesample xMap2 with MapControl available?
- Replies: 1
- Views: 7697
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 ...
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 ...
- Fri Aug 05, 2016 10:24 am
- Forum: PTV xServer.NET (Admin=OH)
- Topic: Traffic Incidents
- Replies: 2
- Views: 12295
Re: Traffic Incidents
Hello Günter,
one way to display traffic incidents with xMapServer is the PTV FeatureLayer for traffic incidents. If you want to display them with the xServer.NET control, there's a sample "FeatureLayers" at https://github.com/ptv-logistics/xservernet-bin. If you want to display static xMap image ...
one way to display traffic incidents with xMapServer is the PTV FeatureLayer for traffic incidents. If you want to display them with the xServer.NET control, there's a sample "FeatureLayers" at https://github.com/ptv-logistics/xservernet-bin. If you want to display static xMap image ...
- Mon Aug 01, 2016 8:19 am
- Forum: PTV xServer.NET (Admin=OH)
- Topic: Hybrid View
- Replies: 3
- Views: 50439
Re: Hybrid View
Hello Günter,
the aerial integration in Javascript and .NET is usually implemented for the according client-controls (ajaxmaps or xServer.NET). If you want to create static images with a hybrid view, you must mesh-up it on your own. This is rather complex, as you have to stitch the HERE tiles to a ...
the aerial integration in Javascript and .NET is usually implemented for the according client-controls (ajaxmaps or xServer.NET). If you want to create static images with a hybrid view, you must mesh-up it on your own. This is rather complex, as you have to stitch the HERE tiles to a ...
- Mon Jul 25, 2016 3:01 pm
- Forum: PTV Webclients (Ajax, Leaflet, OpenLayers, WMS, ...) (Admin=BWE)
- Topic: POIS, with wms and openlayers
- Replies: 1
- Views: 7072
Re: POIS, with wms and openlayers
Hi Ricardo,
it's not possible to pass additional parameters with the WMS adapter. What you can do:
* If you run an on-premise xServer and want to support a pre-defined set of filters, you can add a template 'xmap-poi-hospitals' to the wms.properties file. This provides a new WMS-layer then.
* If ...
it's not possible to pass additional parameters with the WMS adapter. What you can do:
* If you run an on-premise xServer and want to support a pre-defined set of filters, you can add a template 'xmap-poi-hospitals' to the wms.properties file. This provides a new WMS-layer then.
* If ...
- Mon Jun 27, 2016 11:00 am
- Forum: PTV xLocateServer / Developer: Geocoding and Places
- Topic: xS-XF: Geocoding with rooftop coordinates
- Replies: 2
- Views: 9009
Re: Geocoding with rooftop coordinates
Hi,
the xLocate2 preview is now online!
Doc: https://api-xstwo.cloud.ptvgroup.com/dashboard/Default.htm#UseCases/Geocoding/UC_Searching_an_address.htm
Demo: https://api-xstwo.cloud.ptvgroup.com/dashboard/Default.htm#Samples/Geocoding/Basic/
Note: If you want to test it in your own code ...
the xLocate2 preview is now online!
Doc: https://api-xstwo.cloud.ptvgroup.com/dashboard/Default.htm#UseCases/Geocoding/UC_Searching_an_address.htm
Demo: https://api-xstwo.cloud.ptvgroup.com/dashboard/Default.htm#Samples/Geocoding/Basic/
Note: If you want to test it in your own code ...
- Mon May 23, 2016 11:42 am
- Forum: PTV xServer.NET (Admin=OH)
- Topic: c# WPF example of Geometry Layer
- Replies: 4
- Views: 14943
Re: c# WPF example of Geometry Layer
In this case the only option would be to add an underlying ShapeCanvas directly to the map, without using a layer. It is a bit hackish, but works
// get the map view containing the content
var mapView = Ptv.XServer.Controls.Map.Tools.MapElementExtensions.FindChild<MapView>(Map);
// initialize ...
// get the map view containing the content
var mapView = Ptv.XServer.Controls.Map.Tools.MapElementExtensions.FindChild<MapView>(Map);
// initialize ...
- Mon May 23, 2016 10:10 am
- Forum: PTV xServer.NET (Admin=OH)
- Topic: c# WPF example of Geometry Layer
- Replies: 4
- Views: 14943
Re: c# WPF example of Geometry Layer
Hi Daniele,
this is a common misconception with xMapServer and xServer.NET. The xMapServer GeometryLayer is a part of the xMapServer WSDL. The GeometryLayer can be used to create static map images with custom content on the server-side. However if you use the xServer.NET widget, you typically ...
this is a common misconception with xMapServer and xServer.NET. The xMapServer GeometryLayer is a part of the xMapServer WSDL. The GeometryLayer can be used to create static map images with custom content on the server-side. However if you use the xServer.NET widget, you typically ...
- Thu Mar 31, 2016 5:03 pm
- Forum: PTV xMapServer / Dev.RasterMaps API
- Topic: Build Cardview with Tiles
- Replies: 5
- Views: 17573
Re: Build Cardview with Tiles
Hello Freund,
as Joost already mentioned: You cannot use xMap1 as a tile server, and there's no workaround for this. You can apply for an xMap2 preview for xServer internet. XMap2 can be used as pure tile server. If you want to test this, send your request to test xMap2 to http://xserver.ptvgroup ...
as Joost already mentioned: You cannot use xMap1 as a tile server, and there's no workaround for this. You can apply for an xMap2 preview for xServer internet. XMap2 can be used as pure tile server. If you want to test this, send your request to test xMap2 to http://xserver.ptvgroup ...