SDK 100.8 Zooming Issues

1432
4
Jump to solution
07-26-2021 02:02 PM
DaveTenney
Occasional Contributor III

All,

  we recently updated our application from the 10.x sdk to the 100.8 runtime sdk and have noticed a major change in map zooming behavior...

   1) publish simple map service from arcmap 10.5.1 to standalone server 10.5.1 (levels 0-19)

   2) define map REST location in the application to view and zoom map

   3) zooming in on map is stopped once level 19 (1:1128) is reached and cannot be zoomed in any further

this is where the major change in behavior has happened. previously in the sdk 10.x we could continue zooming past this level. the map would become blurry/stretched to a point where you couldnt make anything out but you could at least zoom in beyond this point. We attempted to modify the Map.MapScale object which does allow us to zoom beyond 1:1128 but once we zoom in past the level the entire map now disappears where at least with 10.x we would have a stretched out blurry view of the map.

has anyone else encountered this behavior? if so, do you know how to get past this limitation of the map actually disappearing?

 

thanks

Dave

 

0 Kudos
1 Solution

Accepted Solutions
dotMorten_esri
Esri Notable Contributor

By default it'll use the max scale of your basemap. You can override this by setting the MaxScale property on your Map to something smaller, as well as on any layers you want to keep visible beyond that.

View solution in original post

0 Kudos
4 Replies
dotMorten_esri
Esri Notable Contributor

By default it'll use the max scale of your basemap. You can override this by setting the MaxScale property on your Map to something smaller, as well as on any layers you want to keep visible beyond that.

0 Kudos
DaveTenney
Occasional Contributor III

what I find interesting is that this was never an issue in 10.x and ever since we've upgraded to 100.x we now have this issue. so I guess my question is what is it in the code that's causing this behavior and is it something we can modify? the only thing that has changed in our situation is the version of the sdk, the map service we used in 10.x with no issue is the same map service that is being used in 100.x

0 Kudos
dotMorten_esri
Esri Notable Contributor

Think of the 100.x release as a completely new product. Everything was rewritten from scratch, so it is much much more than a version change.

0 Kudos
DaveTenney
Occasional Contributor III

Will the SDK automatically recognize the change made to the MaxScale of the service?

DaveTenney_0-1627489806884.png

 

0 Kudos