Search found 147 matches
- Thu Oct 15, 2015 2:06 pm
- Forum: PTV xServer.NET (Admin=OH)
- Topic: Fully loaded event of Map control
- Replies: 10
- Views: 23654
Re: Fully loaded event of Map control
I don't think the networks speed is a problem. I simulated modem speed with fiddler and didn't have a problem there. but i also had a black tile once. I also disabled animation explicitly in the constructor. public Window1() { InitializeComponent(); Map.UseAnimation = false; Dispatcher.BeginInvoke(D...
- Wed Oct 14, 2015 4:01 pm
- Forum: PTV xServer.NET (Admin=OH)
- Topic: Fully loaded event of Map control
- Replies: 10
- Views: 23654
Re: Fully loaded event of Map control
OK, can reproduce that. The problem is not the asynchronous loading, the PrintMode-Flag disables async-loading + animations. The trick is the initialization directly inside the constructor before actually displaying the control. A solution would be this: public Window1() { InitializeComponent(); Dis...
- Wed Oct 14, 2015 12:52 pm
- Forum: PTV xServer.NET (Admin=OH)
- Topic: Fully loaded event of Map control
- Replies: 10
- Views: 23654
Re: Fully loaded event of Map control
Have you tried just to add the Export-Function here and call it just after initialization https://github.com/ptv-logistics/xserve ... ml.cs#L176? This should do exactly what you expect.
- Tue Oct 13, 2015 1:16 pm
- Forum: PTV xServer.NET (Admin=OH)
- Topic: Fully loaded event of Map control
- Replies: 10
- Views: 23654
Re: Fully loaded event of Map control
Yes you can change this at runtime with the printing property, see https://github.com/ptv-logistics/xservernet-bin/blob/master/PieChartsAndExport/Window1.xaml.cs#L195-L201 . The puprose of this property is to grab the map content for print and export. But i guess the map isn't very responsive when t...
- Tue Oct 13, 2015 11:41 am
- Forum: PTV xServer.NET (Admin=OH)
- Topic: Fully loaded event of Map control
- Replies: 10
- Views: 23654
Re: Fully loaded event of Map control
Hello Martin, the loded event is a standard WPF event. The imagery data is loaded asynchrounously in separate threads. There's no event like TilesLoaded in for the MapControl-layers. However there is a "synchronous mode" which can be used if you want to use the control to print or export t...
- Fri Oct 02, 2015 12:48 pm
- Forum: PTV xServer.NET (Admin=OH)
- Topic: Overlapping street numbers of feature layers
- Replies: 3
- Views: 18196
Re: Overlapping street numbers of feature layers
The Featuer-Layer Incidents and TruckAttributes are more some kind of map-style rather than a separate layer for the client. The reference implementation is here: https://svc-eu-n-test.cloud.ptvgroup.com/CodeSampleBrowser/index.jsp#samples/featurelayer-rendering-leaflet The Feature-Layer is tightly ...
- Thu Oct 01, 2015 12:17 pm
- Forum: PTV xServer.NET (Admin=OH)
- Topic: Overlapping street numbers of feature layers
- Replies: 3
- Views: 18196
Re: Overlapping street numbers of feature layers
Hello, that’s a good question, and not easy to explain. With the „old“ technology the TruckAttributes and Incidents were handled as separate client-overlay that contained only these objects. This is not the case with the new FeatureLayer-based Truck-Attributes and Incidents. Here these objects are r...
- Fri Jun 12, 2015 1:11 pm
- Forum: PTV xServer.NET (Admin=OH)
- Topic: Tips to optimize xServer.NET for limited-memory scenarios
- Replies: 0
- Views: 4735
Tips to optimize xServer.NET for limited-memory scenarios
Hello again,
i've written an article+test about how to otimize xServer.NET for low-memory scenarios
https://github.com/ptv-logistics/xserve ... /Readme.md
Oliver
i've written an article+test about how to otimize xServer.NET for low-memory scenarios
https://github.com/ptv-logistics/xserve ... /Readme.md
Oliver
- Thu Mar 26, 2015 8:33 am
- Forum: PTV Webclients (Ajax, Leaflet, OpenLayers, WMS, ...) (Admin=BWE)
- Topic: Own symbols in the map
- Replies: 1
- Views: 5407
Re: Own symbols in the map
Hello hrudat,
if your question refers to how to add Bitmaps to xServer.NET control, You should take a look at https://github.com/ptv-logistics/xservernet-bin (Project SelectionDemo)
![Image](https://github.com/ptv-logistics/xservernet-bin/raw/master/Screenshots/SelectionDemo.png)
Regards
Oliver
if your question refers to how to add Bitmaps to xServer.NET control, You should take a look at https://github.com/ptv-logistics/xservernet-bin (Project SelectionDemo)
![Image](https://github.com/ptv-logistics/xservernet-bin/raw/master/Screenshots/SelectionDemo.png)
Regards
Oliver
- Thu Mar 26, 2015 8:00 am
- Forum: PTV Webclients (Ajax, Leaflet, OpenLayers, WMS, ...) (Admin=BWE)
- Topic: Relay PTV xServer Requests in your ASP.NET Middleware
- Replies: 0
- Views: 4731
Relay PTV xServer Requests in your ASP.NET Middleware
Hi there, added a new tutorial to our GitHub space that shows how to relay xServer Requests in your ASP.NET Middleware. https://github.com/ptv-logistics/XServerAspProxy This can be useful when accessing xServer behind a firewall, allow cross-domain and cross-scheme calls, add some load-balancing or ...