when I load the map it appears gray but the layers or points are displayed fine:
the sdk that I currently have is 30 and this is the version of Sdk arcgis
api 'com.esri.arcgisruntime:arcgis-android:100.8.0'
This is the step by step of the methods I use:
private void startMap(){
loadMap();
locationDisplayManager = base_mapView.getLocationDisplay();
if(!startGraphicsOverlay){
base_mapView.getGraphicsOverlays().add(mGraphicsOverlay);
startGraphicsOverlay = true;
}
locationDisplayManager.stop();
}
private void loadMap() {
ArcGISRuntimeEnvironment.setLicense(Constants.CUSTOMER_ID_ARCGIS);
base_mapView = new MapView(this);
baseMap_frameLayoutArcgisMap.addView(base_mapView);
createPortalItem();
mCallout = base_mapView.getCallout();
startListeners();
}
private void createPortalItem(){
if (base_mapView != null) {
portal = new Portal(urlBase, false);
portal.loadAsync();
portal.addDoneLoadingListener(() -> {
ArcGISRuntimeEnvironment.setLicense(Constants.ARCGIS_LICENSEINFO);
});
portalItem = new PortalItem(portal, id);
map = new ArcGISMap(portalItem);
}
base_mapView.setMap(map);
}
Just curious, if the map displays differently in any other
com.esri.arcgisruntime:arcgis-android
version?