Search found 147 matches
- Mon Nov 26, 2018 7:23 pm
- Forum: PTV xServer.NET (Admin=OH)
- Topic: Rotatable shape
- Replies: 2
- Views: 5171
Re: Rotatable shape
Hello Joost, you can rotate any WPF element for the map using the RenderTransform property. One caveat: You cannot directly set the RenderTransform of the element. Because the RenderTransform set by the map control, you need to put it in a container first. Here's a sample to rotate the ballons for h...
- Tue Nov 20, 2018 3:08 pm
- Forum: PTV xServer.NET (Admin=OH)
- Topic: Feature Layer
- Replies: 7
- Views: 8592
Re: Feature Layer
Hi Franke, if you are using the transform functions with a specific coordinate system, you need to make sure you have the Ptv.Components.Projections.dll . But if you are just using standard WGS84 coordinates, you can also omit the parameter, because this is the standard format of the control. var ge...
- Fri Nov 16, 2018 8:05 am
- Forum: PTV xServer.NET (Admin=OH)
- Topic: Feature Layer
- Replies: 7
- Views: 8592
Re: Feature Layer
Hello Frank, i've reviewed the sample and found the problem is that you must initialize the map with specific providers, and not just by setting xMapUrl. I must admit this is a bit cumbersome, but was required because the default didn't support the ReferenceTime property, which is required for Featu...
- Tue Nov 13, 2018 7:53 am
- Forum: PTV xServer.NET (Admin=OH)
- Topic: xServer .NET Mapcontrol with proxy
- Replies: 3
- Views: 8096
Re: xServer .NET Mapcontrol with proxy
Hello, we don't have a way to set a proxy for the requests the control makes explicitly. The control uses the default proxy settings of the system, which is the configuration used for IE. However you could configure a global proxy inside the app.config of the program https://docs.microsoft.com/en-us...
- Tue Oct 30, 2018 9:35 am
- Forum: PTV xServer.NET (Admin=OH)
- Topic: Feature Layer
- Replies: 7
- Views: 8592
Re: Feature Layer
Hello Frank, i guess you are referring to thesample "FeatureLayers" here: https://github.com/ptv-logistics/xserver.net-bin We have changed the sample to fit to the latest version (1.6) of the control. This has some internal interface changes regarding xMapServe-access. To make this code wo...
- Thu Oct 25, 2018 1:38 pm
- Forum: PTV Webclients (Ajax, Leaflet, OpenLayers, WMS, ...) (Admin=LNM)
- Topic: Javascript client classes IE8 CORS error
- Replies: 1
- Views: 18068
Re: Javascript client classes IE8 CORS error
Hello, we don't support IE8 for xServer-JavaScript client anymore. I recommend using the xMap-1 WMS servlet instead PTV clients, so you don't have any CORS issues (even with IE8). Read here for samples how to include them into browser maps. https://github.com/ptv-logistics/xserverjs/tree/master/boil...
- Thu Sep 20, 2018 1:55 pm
- Forum: PTV Webclients (Ajax, Leaflet, OpenLayers, WMS, ...) (Admin=LNM)
- Topic: Shape file web application
- Replies: 1
- Views: 8243
Re: Shape file web application
Hello Clément, shape files are not a very web-friendly format. There are different approaches, depending on the size and required interoperability: You can find some projects on GitHub to load shape files directly and convert it to GeoJson, e.g. https://github.com/calvinmetcalf/shapefile-js For larg...
- Fri Sep 14, 2018 4:34 pm
- Forum: Generic questions
- Topic: WKB to WKT transformation
- Replies: 4
- Views: 5617
Re: WKB to WKT transformation
Hello Julian, It looks like you are using the hex/string representation for wkb64, and not the base64 encoding as input. The wkb-response from xRoute is a base64 encoded string (like in your first attachment). The bytes in your second attachment is no valid WKB. The first byte must either be 0 or 1....
- Fri Sep 14, 2018 12:50 pm
- Forum: Generic questions
- Topic: WKB to WKT transformation
- Replies: 4
- Views: 5617
Re: WKB to WKT transformation
Hello Julian, your data is not directly WKB, but base64 encoded. You must convert it to a byte array first. Then you can load and write it to WKT. Her a sample using .NET and NetToplogySuite https://github.com/NetTopologySuite/NetTopologySuite . The same sould apply to Java using JTS https://github....
- Thu Aug 30, 2018 5:18 pm
- Forum: PTV xServer.NET (Admin=OH)
- Topic: How to display the CombinedTransports layer w. xServer.NET?
- Replies: 1
- Views: 4072
Re: How to display the CombinedTransports layer w. xServer.N
Hi Bernd, you just can add the Combined Transports as standalone xMapLayer, like POIs map.Layers.Add(new XMapLayer(layerName, xMapMetaInfo.Url, xMapMetaInfo.User, xMapMetaInfo.Password) { Caption = "Combined Transports", MaxRequestSize = new System.Windows.Size(2048, 2048), MinLevel = 4, /...