Fix Transparent background on iOS
Fix #415
What is the motivation and context behind this change?
set mapView.isOpaque = false
Pull request checklist:
- [x] Add a changelog entry.
- [x] Write tests for all new functionality. If tests were not written, please explain why.
- [x] Add documentation comments for any added or updated public APIs.
@evil159 with textureView
Flag indicating to use a TextureView as render surface for the MapWidget. Only works for Android
@evil159 @OdNairy Can we get back to this issue?
@evil159
Any news on this issue? Thanks a lot for fixing this!
Hi all, sorry for the delayed reply, would it be possible to make this configurable from the outside? Like to have this as init parameter for MapWidget?
Hi Team,
I am unable to access the isOpaque property. Could you confirm if this property allows making the background of MapWidget transparent?
Currently, I am facing an issue where disabling the atmosphere in globe projection results in a black background outside the Earth. I need to make this area transparent or set a custom color.
Please let me know ASAP, as I am unable to resolve this issue.
Hi all, sorry for the delayed reply, would it be possible to make this configurable from the outside? Like to have this as init parameter for
MapWidget?
@evil159 thanks for getting back to this issue. Having an init parameter like "background-opacity" for MapWidget would be a great solution.
Situation right now: Working on layer level by setStyleLayerProperty('background', 'background-opacity', 0) makes the background successfully transparent for Android, but has no effect on iOS.
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.
@tranhuongk Thank you for your PR. Since there is no progress with the suggested changed I'm closing this PR. I've created an internal ticket to add a configuration option for enabling transparency on iOS: https://mapbox.atlassian.net/browse/MAPSFLT-405