Closed incanus closed 8 years ago
Proof of concept basic project: https://github.com/incanus/ClearGLKit
:+1:
Can't wait for MGLMapView to be backed by a UIVisualEffectView!
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:
(In Studio, I started with the Empty template, set the background layer’s opacity to 0, then added a translucent blue water
layer.)
Woah great! This is a really nice addition. Thanks!
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.