I have some TPKX files that I am trying to load them onto Android app
But it seems like for some TPKX, it doesn't display if I simply add them to the an existing map as an operational layer (no error logged or thrown):
ie: map.getOperationalLayers().add(layer)
It would only display if I re-create a new Basemap and set it the the mapView.
ie.:
Basemap bm = new Basemap(layerFromTpkx);
mapView.setMap(new ArcGISMap(bm));
I am guessing if it have anything to do with different spatial references?
Any advice is appreciated, thanks in advance!
Hi,
ArcGISTiledLayers cannot be reprojected on the fly. See functional characteristics in documentation here,
https://developers.arcgis.com/android/api-reference/reference/com/esri/arcgisruntime/layers/ArcGISTi...
Thanks
Rama
Hi thanks for the reply and so it seems to be spatial reference.
For SceneView, it seems that my ArcGISTiledLayer would not display even if I had created a new Basemap with the tiled layer.
The same data could display in 2D however. Any advise on this?