Layer hierarchy...

Within this forum we want to offer discussions all around our .NET based Map control including all .Net-language specific questions concerning calls of the xServer-API. Attention: xServer-relevant concepts can be found in further forums such as xRoute or xTour.
Post Reply
User avatar
Bernd Welter
Site Admin
Posts: 2574
Joined: Mon Apr 14, 2014 10:28 am
Contact:

Layer hierarchy...

Post by Bernd Welter »

One of my partners asked:
We want to combine the satellite images with other layers. When the opacity of the satellite layer is set to 100% we can no longer see other contributing layers. How can we get rid of that? Does it make sense to change the sequence of adding the layers? How can we ensure to put other layers on top?
Changing the sequence of "adding layers" might solve the problem for the current set of layers, but I recommend to use the following approach to avoid too many dependencies:

Use the layer's priority attribute !

Here's some additional info
No matter when you add which layer in the application: you can control the z-hierarchy via this priority attribute.

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... :twisted:
Post Reply