AnsweredAssumed Answered

Map callout does not display when Esri is started first time in android

Question asked by azia341 on Apr 12, 2019
Latest reply on May 30, 2020 by DastanIqbal

I have to restart my Esri map or restart app to show map callout but the map callout is actually present in the desired location but never displays in the first launch of the app. Here is my code.

mMapView = findViewById(;
//ArcGISMap map = new ArcGISMap(SpatialReference.create(2868));
ArcGISMap map = new ArcGISMap(Basemap.createStreetsVector());
//new Handler().postDelayed(()->mMapView.setMap(map), 3000);
PictureMarkerSymbol pictureMarkerSymbol = new PictureMarkerSymbol((BitmapDrawable)getResources().getDrawable(R.mipmap.pin_blue));
Map<String, Object> attr = new HashMap<>();
attr.put("position", i);
attr.put("name", record.getName());
Graphic graphic = new Graphic(point, attr,pictureMarkerSymbol);