Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

allow for transparent background on iOS #3038

Closed

Description

@incanus

GLKView can have transparency, so we should see how tricky it is for an MGLMapView to do this also, if parts of the style (e.g. water) have transparency.

Activity

  1. added
    iOS
    on Nov 15, 2015
  2. incanus commented on Nov 15, 2015

    @incanus
    ContributorAuthor
  3. bleege commented on Nov 15, 2015

    @bleege
    Contributor

    👍

  4. 1ec5 commented on Nov 16, 2015

    @1ec5
    Contributor

    Can't wait for MGLMapView to be backed by a UIVisualEffectView!

  5. 1ec5 commented on Nov 20, 2015

    @1ec5
    Contributor

    Setting the GLKView’s layer.opaque = NO was all that was required to make this work. Here’s an MGLMapView inside a vibrant+blurry UIVisualEffectView atop an AVPlayerLayer playing an MP4 movie:

    UIVisualEffectView

    (In Studio, I started with the Empty template, set the background layer’s opacity to 0, then added a translucent blue water layer.)

  6. added a commit that references this issue on Nov 21, 2015
    c246ff0
  7. self-assigned this
    on Nov 21, 2015
  8. gpbl commented on Jan 5, 2016

    @gpbl

    Woah great! This is a really nice addition. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

featureiOS

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions