AnsweredAssumed Answered

Zoom in by level of detail

Question asked by matus on Jul 31, 2018
Latest reply on Jul 31, 2018 by matus

I have a map with tiled basemap. I would like to have zoom in button that with every click increases zoom by one level of detail. I just could't find property or method to get current level of detail of map. Only solution that came to my mind is that with every zoom click get current map scale, enumerate basemap layer levels of detail, find one with closest scale and take LOD from it as current LOD.

Am I missing something and there is simpler/smarter way to get current LOD?

Outcomes