mapbox / mapbox-maps-android

Interactive, thoroughly customizable maps in native Android powered by vector tiles and OpenGL.
https://www.mapbox.com/mobile-maps-sdk
Other
478 stars 134 forks source link

GL Error when using Snapshotter #2482

Open Anders-HM opened 2 months ago

Anders-HM commented 2 months ago

Environment

Observed behavior and steps to reproduce

I'm trying to create a snapshot of a map using the Snapshotter class but I'm getting a device error when calling the start function on the Snapshotter object: "device/generic/goldfish-opengl/system/GLESv2_enc/GL2Encoder.cpp:s_glGetStringi:4973 GL error 0x501".

I'm using Ionic and running the Mapbox SDK in a custom made Capacitor plugin.

Expected behavior

I would expect the Snapshotter to finish and return a bitmap