This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Transparent background #10719
Milestone
Comments
I like this approach, preferably being opt-in. This enables the usecase while minimizing potential side effects (rendering, or performance). |
To follow up on this, approach mentioned in #10719 (comment) will not be feasible due to needing to move the surface before all the views in the hierarchy, as a result the logo/attribution/compass isn't showing anymore and this would go in against our terms and conditions. I'm looking now into if a TextureView approach is feasible (as this render component wouldn't require the same changes as GlSurfaceView). TBC. |
This landed with #11065 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Feature request to allow setting the background of the render surface to transparent:
Working branch here.
This feature allows to see through the map bounds and see items in the viewhierachy that are behind it (currently this shows a black background). Besides the feature request this also solves the issue of a flashing black background when starting up a mapview.
There are a couple of ways that we could expose this an api:
Before implementing we need to identify what the performance impact will be and if this feature introduces any regressions on older OS verions.
cc @zugaldia @ericdeveloper @kalimar
The text was updated successfully, but these errors were encountered: