I would like to "clip" existing basemaps to display along with my mmpk. I was able to download osm tiles for the area I am interested in but I can't find any info on how or if I can bring that into my project. I've also looked at the services like the World Light Gray Base (for Export) but there is no direction on how to add that as a local basemap. I am developing in Qt with QML. I am able to display my mobile map package data along with some locators but I can't get local basemaps to work.
Tim,
In AppStudio, we are using ArcGIS Runtime SDK for Qt for all of the mapping capabilities. I think what you are looking to do is very similar to the "On Demand" offline workflow, where you can define an area of a map and control the map content to be taken offline, including the basemap. Please take a look at this documentation regarding Take a map offline - on-demand—ArcGIS Runtime SDK for Qt | ArcGIS for Developers
Thank you,
Erwin.
Thank you for your reply. Actually I do not want to have the maps downloaded on demand. I want to package the maps, basemap, and locators to include with the app download. I'm creating an app that will be used in areas that typically has spotty network access. I read somewhere that this can be created in ArcGIS Pro (creating a .vtpk file for example) but I could never get it to work.
This sample shows you how to create and use the TPK file, which can be generated from ArcGis Pro, Generate offline map with local basemap | ArcGIS for Developers and here is the doc for TiledLayer, ArcGISTiledLayer QML Type | ArcGIS for Developers
So it looks like you are having an issue creating the tpk or vtpk file from ArcGIS Pro to be used as Runtime content, correct?
I was able to create a tpk file from ArcGIS Pro. I just can't get it to show while using a mmpk. Do I have to package it with the mmpk or can I put the tpk in a directory within my app and point the Basemap to it? I've tried the former but I can't get the basemap to show. No errors are returned either.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.