Hi, I am developing mapview using v2,
From the MarkerOptions object, I get an icon, for example ...
MarkerOptions mo = markersList.get(pos); BitmapDescriptor icon = mo.getIcon(); //Gets the custom icon set for this MarkerOptions object. ImageView logo; //how to assign icon to textview like using below code logo.setBackgroundResource(icon) // It is not taking directly (BitmapDescriptor icon)
Please, help. Thanks.
android android-imageview
Gangadhar nimballi
source share