AnsweredAssumed Answered

Arcgis Map work with offline

Question asked by ginolf on May 24, 2018
Latest reply on May 30, 2018 by ginolf

Hi All,


I wanna to create an application to allow the user to perform check-in location with the ArcGIS offline map.


I have followed the tutorial using ArcGIS PRO to generates and putting the .mmpk file into the mobile internal storage directory. I manage to read the map but how to set a draggable marker on the map? 



private void setupMobileMap() {
    if (mMapView != null) {
        File mmpkFile = DIRECTORY;

        final MobileMapPackage mapPackage = new MobileMapPackage(mmpkFile.getAbsolutePath());
        mapPackage.addDoneLoadingListener(new Runnable() {
            public void run() {
                // Verify the file loaded and there is at least one map
                if (mapPackage.getLoadStatus() == LoadStatus.LOADED && mapPackage.getMaps().size() > 0) {
                } else {
                    // Error if the mobile map package fails to load or there are no maps included in the package