The map is coming out in gray and it does not show me the streets, 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'
I attach evidence:
can someone help me please
It seems to me, you are trying to load a streets basemap, per your question.So I tried setting a streets basemap to mapView and load the mapView using
"com.esri.arcgisruntime:arcgis-android:100.8.0"
android sdk version, and it does load fine. I used an android 30 emulator to test this.Below is the code snippet.
// inflate MapView from layoutmMapView = findViewById(R.id.mapView);// create a map with the a topographic basemapArcGISMap map = new ArcGISMap(Basemap.createStreets());// set the map to be displayed in this viewmMapView.setMap(map);mMapView.setViewpoint(new Viewpoint(34.056295, -117.195800, 10000));
I've asked someone from the Android team to look at this, but can you share the code you are using to add the basemap.
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.