Background tiles missing in xServer.NET with xServer2
Background tiles missing in xServer.NET with xServer2
Hi, we are using the super-duper xserver.net control to request tiles from a xMap2 backend in the PTV cloud. Since a few days the control does no longer display background tiles though we haven’t changed anything recently. Therefore we assume a topic within PTV. Any clue what happened?
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Background tiles missing in xServer.NET with xServer2
Hi,
yeah this seems to be related to the following effect:
Native level: http://127.0.0.1:50000/services/rest/XM ... edProfile=
In the new version of the REST API the server's reaction to a non-existing storedProfile is
The older version was more tolerant and simply fell back into "default".
Solution:
- tell the control to use an explicit profile, e.g. "silkysand"
We will also provide a fix for the control itself soon.
Best regards,
Bernd
yeah this seems to be related to the following effect:
Native level: http://127.0.0.1:50000/services/rest/XM ... edProfile=
In the new version of the REST API the server's reaction to a non-existing storedProfile is
Code: Select all
{"faultInfo":
{"$type":"InvalidValueFault","hint":"Affects query parameter 'storedProfile'.",
"parameter":"storedProfile","value":""},
"message":"String has to be non-empty but was empty."}
Solution:
- tell the control to use an explicit profile, e.g. "silkysand"
Code: Select all
formsMap1.Xmap2LayerFactory.MapStyle = "silkysand";
Best regards,
Bernd
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Background tiles missing in xServer.NET with xServer2
wow... fix is available!!
https://github.com/ptv-logistics/xserve ... ag/1.7.4.0
thanks to Oliver - you are my hero (once again)
https://github.com/ptv-logistics/xserve ... ag/1.7.4.0
thanks to Oliver - you are my hero (once again)
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
- Oliver Heilig
- Posts: 160
- Joined: Tue May 13, 2014 12:10 pm
- Location: Karlsruhe, Germany
- Contact:
Re: Background tiles missing in xServer.NET with xServer2
Also on nuget
https://www.nuget.org/packages/Ptv.XServer.Net/1.7.4
You can now also set the style directly via XMapStyle on the control
https://www.nuget.org/packages/Ptv.XServer.Net/1.7.4
You can now also set the style directly via XMapStyle on the control
Code: Select all
formsMap.XMapUrl = "xserver2-europe-eu;version=2.14";
formsMap.XMapCredentials = "XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX";
formsMap.XMapStyle = "silica";
Oliver Heilig
Chief Developer Logistic Services
PTV GROUP - Germany
https://github.com/oliverheilig/
Chief Developer Logistic Services
PTV GROUP - Germany
https://github.com/oliverheilig/