-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
Plugins are not compatible with Vulkan #77
Comments
You can workaround this by using
|
@Vichy97 I realized this as well yesterday. Thanks for sharing your solution. I think we simply need to document this. What do you think? |
Documenting is definitely a good idea, but I think the best solution would be to make vulkan compatible releases for the plugins (unless the main artifact will definitely be updated to include runtime configuration of vulkan). Also the plugins could probably use an update anyway since the scalebar plugin seems to be using 11.3.0 |
Feel free to copy from my maplibre-compose documentation: |
I feel like it makes more sense for the plugins to |
This is also an issue when using the
|
@KiwiKilian Could you clarify what the issue is? |
We have these dependencies in MapLibre React Native: implementation "org.maplibre.gl:android-sdk:11.7.0"
implementation "org.maplibre.gl:android-sdk-turf:6.0.1" I wanted to change to following, simply adding the implementation "org.maplibre.gl:android-sdk-opengl:11.7.0"
implementation "org.maplibre.gl:android-sdk-turf:6.0.1" But then the same duplicate class errors appear as initially reported. So basically the plugins have a problem with either suffixed flavor. I know it doesn't matter right now, as 11.7.0 without suffix is OpenGL. But longterm I would like add a choice for RN user, if they want Vulkan or OpenGL, then I would also prefer to use the suffixed versions. Will try the workaround later #77 (comment). |
MapLibre Android Version
11.7.0
Android SDK Version
Not relevant
Device
Not relevant
What happened?
You are unable to use Vulkan with plugins because they are not using the vulkan version of MapLibre. You will run into duplicate class failures at compilation time
Steps to reproduce
Use the Vulkan version of MapLibre with any of the plugins. I ran into this using the latest version of the scalebar plugin
Renderer
No response
Relevant log output
Additional context
No response
The text was updated successfully, but these errors were encountered: