دنبال کننده ها

۱۳۹۶ مهر ۸, شنبه

android - Failed to decode image. The provided image must be a Bitmap

[ad_1]



BitmapDescriptor bmpD = BitmapDescriptorFactory.fromResource(R.raw.podval);

Log.d("myLog", ":" + bmpD);

GroundOverlayOptions newarkMap = new GroundOverlayOptions()
.image(bmpD)
.position(sydney, 8600f, 6500f);
Log.d("myLog", ":" + newarkMap);
GroundOverlay imageOverlay = mMap.addGroundOverlay(newarkMap);


Failed to decode image. The provided image must be a Bitmap.
But in log I got :com.google.android.gms.maps.model.BitmapDescriptor@58e0ee6
:com.google.android.gms.maps.model.GroundOverlayOptions@1ea9c27



Help please.




[ad_2]

لینک منبع