Is there a simple example of displaying an .MPK file from disk as a layer?

333
2
Jump to solution
04-09-2021 09:27 AM
SteveStamm
New Contributor II

We are trying to upgrade an old WPF application written using ARCGIS 10.2 to the most current (ArcGIS runtime SDK for .NET 100.10) version.

My questions are:

1. Does ArcGIS runtime SDK for .NET 100.10 still support loading MPK files from a disk file?

2. If so, is there a simple example of how to do this?

Thanks so much for any help.

Steve

0 Kudos
1 Solution

Accepted Solutions
MichaelBranscomb
Esri Frequent Contributor

To display ArcGIS map packages as a layer requires the ArcGIS Runtime Local Server component.

The current Local Server release, v100.9, supports both ArcMap 10.8.x packages (.mpk) and ArcGIS Pro packages 2.6.x (.mpkx). 

The next version of Local Server, v100.10, will support only ArcGIS Pro packages 2.7.x (.mpkx). 

We're still in the process of updating the samples to reflect this transition, therefore the current WPF samples reference Local Server 100.9 and use ArcMap packages.

The recommended offline/local data workflows for ArcGIS Runtime can be found in the offline maps doc: https://developers.arcgis.com/net/offline-maps-scenes-and-data/

View solution in original post

2 Replies
MichaelBranscomb
Esri Frequent Contributor

To display ArcGIS map packages as a layer requires the ArcGIS Runtime Local Server component.

The current Local Server release, v100.9, supports both ArcMap 10.8.x packages (.mpk) and ArcGIS Pro packages 2.6.x (.mpkx). 

The next version of Local Server, v100.10, will support only ArcGIS Pro packages 2.7.x (.mpkx). 

We're still in the process of updating the samples to reflect this transition, therefore the current WPF samples reference Local Server 100.9 and use ArcMap packages.

The recommended offline/local data workflows for ArcGIS Runtime can be found in the offline maps doc: https://developers.arcgis.com/net/offline-maps-scenes-and-data/

View solution in original post

SteveStamm
New Contributor II

Michael,

Thanks so much for your quick answer and the helpful links!

Steve

0 Kudos