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
Solved! Go to Solution.
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 layout
mMapView = findViewById(R.id.mapView);
// create a map with the a topographic basemap
ArcGISMap map = new ArcGISMap(Basemap.createStreets());
// set the map to be displayed in this view
mMapView.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.
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 layout
mMapView = findViewById(R.id.mapView);
// create a map with the a topographic basemap
ArcGISMap map = new ArcGISMap(Basemap.createStreets());
// set the map to be displayed in this view
mMapView.setMap(map);
mMapView.setViewpoint(new Viewpoint(34.056295, -117.195800, 10000));