Select to view content in your preferred language

VTPK Setting maximum extent after switching basemap to portal item.

467
2
Jump to solution
04-14-2022 05:38 PM
AaronMorrisett
Emerging Contributor

I am creating a offline basemap using the ExportTileCacheTask and when I load that basemap it locks the maximum extent of the mapview to the size of the created basemap.  However my problem is when I switch to map from the arcgis portal that covers the whole earth the highest I can zoom out is stuck to what was set to when it loaded in the *.vtpk file.  I have tried to browse around for some properties to adjust this but haven't had any luck yet.

 

Thanks,

      Aaron

0 Kudos
1 Solution

Accepted Solutions
dotMorten_esri
Esri Notable Contributor

Update 14 (out soon) will allow you to override the automatically set max extent initialized at startup.

View solution in original post

0 Kudos
2 Replies
dotMorten_esri
Esri Notable Contributor

Update 14 (out soon) will allow you to override the automatically set max extent initialized at startup.

0 Kudos
dotMorten_esri
Esri Notable Contributor

Just following up after U14 shipped this week. Feel free to try this version and set the MaxExtent property on the Map.

https://developers.arcgis.com/net/api-reference/api/netwin/Esri.ArcGISRuntime/Esri.ArcGISRuntime.Map...

0 Kudos