Select to view content in your preferred language

How to Load Map from local saved .vtpk .geodatabase and .mmap file

876
3
11-09-2023 06:48 AM
GautamBisht007
New Contributor

I want to know when we download map after selecting the download area, it create 3 files (.vtpk .geodatabase and .mmap file) to our local storage and resources. need help to load map from these local saved files. I want to download multiple maps and showcase all saved from local saved in a list on tap I want to local selected downloaded map in MapView

0 Kudos
3 Replies
Shubham_Sharma
Esri Contributor

We have sample apps to help demonstrate the workflow of loading a locally saved vtpk, geodatabase, or a mmpk file using the ArcGIS Runtime for Android SDK:

  • Export vector tiles: Link
  • Create mobile geodatabase: Link
  • Open mobile map package: Link

Or check out our documentation tutorial pages: Work with offline data (link)

 

 

 

0 Kudos
GautamBisht007
New Contributor

Hi Shubham I need something like load the baseman(downloaded) then attach layer to it. can you help me something like that?

0 Kudos
Shubham_Sharma
Esri Contributor

@GautamBisht007 You can load a vector tile package file (.vtpk) which contains your local basemap, and then load the layer. 

  • Snippet to load an ArcGISVectorTiledLayer as the basemap: Link
  •  To add a feature layer to a map: Sample
0 Kudos