I want the user to be able to save their own area of the map and show it with the online map. At the moment I add the offline tiles as a layer to the map and it works, but this causes the online map to download the same tiles underneath the offline layer.
Now is there a way to combine the downloaded offline map tiles with the online map, in a way that doesn't cause the online map to download the tiles again?
Solved! Go to Solution.
> If the user has saved part of the map as an offline map and has "enabled" it in inside the app, is it possible to not fetch or download the tiles from the online map on that part?
I think you are looking for some kind of "query filter" to be set on an ArcGISTiledLayer or ArcGISVectorTiledLayer that prevents tiles from being fetched within a certain extent, i.e. the extent for which offline tiles are available. This is currently not supported.
@Silli - can you provide some more info on your use case. Do you need to display data from the online map in the areas where there are no offline data available or is it sufficient to just show the offline tiles? If it's the latter, you can replace the basempa of your online map with the offline tiled layer from your mmpk or tpkx file.
If the user has saved part of the map as an offline map and has "enabled" it in inside the app, is it possible to not fetch or download the tiles from the online map on that part?
I don't want to swap maps, so this should work in together with the online map still being draw on parts that don't have offline data.
> If the user has saved part of the map as an offline map and has "enabled" it in inside the app, is it possible to not fetch or download the tiles from the online map on that part?
I think you are looking for some kind of "query filter" to be set on an ArcGISTiledLayer or ArcGISVectorTiledLayer that prevents tiles from being fetched within a certain extent, i.e. the extent for which offline tiles are available. This is currently not supported.