Hello,
we test the Here Satellite Images in our program. When i only activate the Here Satellite Images, it works fine. But when i activate the Featurelayer PTV_Truckattributes too, the background of the Truckattribute lies over the Here Satellite Images (see attachment).
Is there a posibility to deactivate (transparent) the background of the Truckattribute-Layer. I tried it with the profile silksand.ini, because the name of the featurelayer-profile is silkysand-fl-truckattributes.xml, but it doesn't work.
Thank you in advance
Best regards
Jürgen
Here Satellite images and PTV Truckattribute
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Here Satellite images and PTV Truckattribute
Hello Jürgen,
which API do you use?
Our .NET control or one of the web driven frameworks such as leaflet?
Depending on the used stack I'd forward your thread to the xServer.NET forum or the Webclients forum. Anyhow: In both cases I'd expect the same expert to answer.
Best regards,
Bernd
which API do you use?
Our .NET control or one of the web driven frameworks such as leaflet?
Depending on the used stack I'd forward your thread to the xServer.NET forum or the Webclients forum. Anyhow: In both cases I'd expect the same expert to answer.
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...
Re: Here Satellite images and PTV Truckattribute
Hello Bernd,
we use the ajaxmaps-control Version 3.5.25.0
xlocate 1.24.0.3
xmap, xroute 1.24.0.4
Best regards,
Jürgen
we use the ajaxmaps-control Version 3.5.25.0
xlocate 1.24.0.3
xmap, xroute 1.24.0.4
Best regards,
Jürgen
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Here Satellite images and PTV Truckattribute
Good morning Jürgen,
I received an explanation from one of the experts - enriched by a statement by myself:
The described behaviour is caused by a technical restriction within FeatureLayers:
FeatureLayer lines will only be drawn if streets are visible. Therefore the Ajaxmap is implemented as follows: if a FeatureLayer is active use the Ajaxmaps background profile instead of the foreground profile (which does not display streets). This causes the side effect of the non transparent layer which overlays other layers, e.g. the satellite layer.
A potential resolution for this behaviour within xMap server itself would be to remove the dependency between visible streets and feature layer lines. I already asked Product Management whether this
- is fixed
- will be fixed (and when)
- won't be fixed (because Ajaxmaps are more and more replaced by xMap2+Leaflet)
Please be patient,
Bernd
I received an explanation from one of the experts - enriched by a statement by myself:
The described behaviour is caused by a technical restriction within FeatureLayers:
FeatureLayer lines will only be drawn if streets are visible. Therefore the Ajaxmap is implemented as follows: if a FeatureLayer is active use the Ajaxmaps background profile instead of the foreground profile (which does not display streets). This causes the side effect of the non transparent layer which overlays other layers, e.g. the satellite layer.
A potential resolution for this behaviour within xMap server itself would be to remove the dependency between visible streets and feature layer lines. I already asked Product Management whether this
- is fixed
- will be fixed (and when)
- won't be fixed (because Ajaxmaps are more and more replaced by xMap2+Leaflet)
Please be patient,
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...
Re: Here Satellite images and PTV Truckattribute
Hello Bernd,
thanks for the info.
I try to deactivate the Truckattribute-Layer, when the satellite-map is "on". But I have Problems, to get the click-Event from the Toolbar.
Best regards,
Jürgen
thanks for the info.
I try to deactivate the Truckattribute-Layer, when the satellite-map is "on". But I have Problems, to get the click-Event from the Toolbar.
Best regards,
Jürgen
-
- Posts: 13
- Joined: Tue May 13, 2014 3:28 pm
Re: Here Satellite images and PTV Truckattribute
Hi Jürgen,
you should be able to hook into the satellite layer and check when it's enabled/disabled (which happens in the end when you click on the toolbar buttons):
Instead of "sat", use the name of your satellite layer. Instead of the alert, turn the feature layer on/off.
Regards,
Andreas
you should be able to hook into the satellite layer and check when it's enabled/disabled (which happens in the end when you click on the toolbar buttons):
Code: Select all
map.getLayer("sat").addEventListener("changeEnabled", function(evt) {
alert("Enabled: " + map.getLayer("sat").getEnabled());
});
Regards,
Andreas
Re: Here Satellite images and PTV Truckattribute
Hello Andreas,
thanks for your sample, works fine.
Regards,
Jürgen
thanks for your sample, works fine.
Regards,
Jürgen
- Bernd Welter
- Site Admin
- Posts: 2695
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: Here Satellite images and PTV Truckattribute
Just learned that HERE has changed the Authentication Method.
Therefore please consider this article: ttps://xserver.ptvgroup.com/forum/viewtopic.php?f=56&t=1636
Good moment to switch to PTV Developer Maps API!
Therefore please consider this article: ttps://xserver.ptvgroup.com/forum/viewtopic.php?f=56&t=1636
Good moment to switch to PTV Developer Maps API!
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...