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.
One of the primary new features in iOS 11 is inter-app drag and drop. We should make any necessary changes so that our map view supports drag and drop well out of the box, without external dependencies or network calls.
Considerations
Rasterization — the snapshot workaround in Add map snapshot API #1701 may be good enough, as users will be dragging from already-rendered foreground maps.
Agreed! This is something I've been exploring, and can see a lot of potential uses. I think that the first step is to look into how/if we can make MGLMapViews conform to NSItemProviderWriting.
Attribution and MAUs are another challenge. We could adopt a similar approach as what was taken in @captainbarbosa's blog post and switch to static attribution once the drag/drop begins. If the map remains interactive, we could look into adapting the attribution button. Switching to text attribution once a drag interaction is detected is likely the best approach, since without an interactive map, telemetry opt-in/out isn't necessary.
Activity
jmkiley commentedon Jun 23, 2017
Agreed! This is something I've been exploring, and can see a lot of potential uses. I think that the first step is to look into how/if we can make MGLMapViews conform to NSItemProviderWriting.
Attribution and MAUs are another challenge. We could adopt a similar approach as what was taken in @captainbarbosa's blog post and switch to static attribution once the drag/drop begins. If the map remains interactive, we could look into adapting the attribution button. Switching to text attribution once a drag interaction is detected is likely the best approach, since without an interactive map, telemetry opt-in/out isn't necessary.
stale commentedon Nov 30, 2018
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.
stale commentedon Jun 2, 2019
This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.