NeshanMaps/android-neshan-maps-sample

Marker Bitmap Error

Opened this issue · 0 comments

am3n commented
    val marker = MarkerStyleCreator()
    ...
    marker.bitmap = BitmapUtils.createBitmapFromAndroidBitmap(
        BitmapFactory.decodeResource(activity?.resources, R.drawable.img_marker_origin)
    )
    ...
E/neshan-mobile-sdk: BitmapUtils::CreateBitmapFromAndroidBitmap: Unsupported color format: 0

crash on Huawei P10 Light - EMUI & Android v: 8.0.0