You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
It can be reused but the associated MGLMapCamera is transformed to mbgl::CameraOptions upon initializing so pretty much every case you want to reuse it won’t work.
Imagine using a snapshotter when you scroll through a table view.
cellWillDisappear/prepareForReuse should cancel the snapshotter
but you can’t reuse because the camera is already set. (you can reuse but the region will most likely not be the same)
In order to make it reusable it will require move MGLMapSnapshotOptions to a setter which is an easy task.
The questions would be if it's valuable for developers have a reusable snapshotter and which would be the uses cases for it.
Activity