Hi everyone,
I have MapPackage. And how to lay on that on my tiled layer? MapPackage should be like graphicOverlay on tiledLayer.
At the moment i have this code for MapPackage. I imagine that is not very difficult to do..
Any ideas ? Waiting for help and suggestions. Thanks !!
I think there may be some confusion here. A mobile map package is a self contained map that contains all the layers it needs. It can be generated in ArcGIS Pro and deployed to devices that wish to work in an offline environment. Rather than add the mobile map package to a tiled layer, you would want to pull the map from the mobile map package, add that to your map view, and then add your tiled layer to it. mapPackage.getMaps().get(0).getOperationalLayers().add(layer)
It may cause confusion that what you suggest doesn't actually work.
You can load a mobile map and then add a layer to it.
You may not get an error.
But the layer won't show up.
Make sure that you use the same Spatial Reference with layers.