-
Notifications
You must be signed in to change notification settings - Fork 31
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
Doesn't record MapBox #6
Comments
Changing the func fb_makeViewSnapshot() -> Image? {
UIGraphicsBeginImageContextWithOptions(bounds.size, true, 0)
drawHierarchy(in: bounds, afterScreenUpdates: false)
let rasterizedView = UIGraphicsGetImageFromCurrentImageContext()
UIGraphicsEndImageContext()
return rasterizedView
} |
Here is the explanation: mapbox/mapbox-gl-native#6070 (comment)
I also faced a crash when I was rendering a Opened a PR for it. |
@kushsolitary @abekert you guys are the best! thank you so much for the solution! |
Hi,
I am trying to create a recording with an animated map (powered by Mapbox, runs on Metal) in the background but the map isn't rendered at all.
What I am trying to render:
https://user-images.githubusercontent.com/650476/157033105-54f4a8ea-7274-4d62-89ff-ffe2a85b80f4.mp4
What FlipBook renders:
https://user-images.githubusercontent.com/650476/157033169-fb171864-99fc-4e3d-8105-8102b1d686b5.mov
Is this is a known limitation or a bug?
The text was updated successfully, but these errors were encountered: