Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android MapSnapshotter bitmap decoding: couldn't get bitmap info #2962

Open
GregorBlock opened this issue Oct 24, 2024 · 0 comments
Open

Android MapSnapshotter bitmap decoding: couldn't get bitmap info #2962

GregorBlock opened this issue Oct 24, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@GregorBlock
Copy link

Describe the bug
It seems that the issue is related to the bitmap decoding process.

To Reproduce
Steps to reproduce the behavior:

  1. Implement snapshot creation using the basic MapSnapshotter implementation.
val options = MapSnapshotter.Options(1024, 1024).withStyle("https://tiles.versatiles.org/assets/styles/colorful.json")
    .withCameraPosition(
        CameraPosition.Builder()
            .target(LatLng(52.090737, 5.121420))
            .build()
    )
MapSnapshotter(this@MainActivity, options).start({ snapshot ->
    // ...
}, { error ->
    println(error)
})
  1. Run the app and attempt to generate a snapshot.
  2. The following error messages are logged:
12:57:10.180 skia            D  --- Failed to create image decoder with message 'unimplemented'
12:57:10.181 Mbgl            E  {app.snapshotexample}[Style]: Failed to load sprite: bitmap decoding: couldn't get bitmap info
12:57:10.181 System.out      I  bitmap decoding: couldn't get bitmap info

Platform information:

  • OS: MacOs/Windows
  • Platform Android
  • Version: Android 33 and MapLibre android-sdk:11.5.1
@GregorBlock GregorBlock added the bug Something isn't working label Oct 24, 2024
@GregorBlock GregorBlock changed the title Android MapSnapshotter: bitmap decoding: couldn't get bitmap info Android MapSnapshotter bitmap decoding: couldn't get bitmap info Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant