AnsweredAssumed Answered

Custom ServiceImageTiledLayer zoom visibility

Question asked by oliver.boesche on Jul 23, 2018
Latest reply on Aug 27, 2018 by oliver.boesche

Hello,

 

for our software we had to implement an own ServiceImageTiledLayer foreach level of detail/ zoom levels. Therefore each tiles layer consist of a tile cache with only the top zero layer and not all detail layers in one cache. Hope that this is clear enough. Through our constraints it is not possible to put them all together in one custom layer instance.

 

The standard MapView behaviour is to make them visible and invisible on the different zoom levels according to an unknown decision metric based on resolution and scale from the LevelOfDetail. That works so far, if we add the caches in a sorted order according to the resolution of each cache. But then we see some problems to display them correctly to our requirements. I try to use practical words to avoid missunderstandings in the words. Please tell me if something isn't clear enough.

 

Problems:

  • Caches are automatically made invisible which allows gaps between the LoDs
    • IsVisibleOnScale is true for the whole zoom range
    • IsVisible is always on true
  • Min/MaxScale on a ServiceImageTiledLayer has no effect in this scenario

 

The desired behaviour:

  • Fully zoomed out => the topmost cache shall be visible
  • Fully zoomed in => the lowermost cache shall be visible
  • Between two overlapping caches the lower one shall be displayed

 

So, my question would be if it is possible to solve this issues or to work around them? Otherwise is there a behaviour specification for this layer visibility or can we handle this ourselve?

 

Thanks for all help.

 

Best regards,

Oliver

Attachments

Outcomes