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

Convenient snapshot wrappers #9916

Closed
frederoni opened this issue Sep 5, 2017 · 1 comment
Closed

Convenient snapshot wrappers #9916

frederoni opened this issue Sep 5, 2017 · 1 comment
Labels
Android Mapbox Maps SDK for Android iOS Mapbox Maps SDK for iOS macOS Mapbox Maps SDK for macOS MapKit parity For feature parity with MapKit on iOS or macOS

Comments

@frederoni
Copy link
Contributor

frederoni commented Sep 5, 2017

Snapshots are currently returned as plain UIImage & Bitmap objects.
A convenient wrapper for these resources that converts between the image and the map view’s coordinate system would make it easier to overlay annotations and images on the snapshots.

On the iOS/macOS side, this would mean adding a MGLMapSnapshot and a -[MGLMapSnapshot pointForCoordinate:].

@ivovandongen @fabian-guerra @tobrun

@frederoni frederoni added Android Mapbox Maps SDK for Android iOS Mapbox Maps SDK for iOS macOS Mapbox Maps SDK for macOS labels Sep 5, 2017
@zugaldia
Copy link
Member

zugaldia commented Sep 5, 2017

cc: @Guardiola31337 for visibility on the Android side.

@1ec5 1ec5 added the MapKit parity For feature parity with MapKit on iOS or macOS label Sep 5, 2017
This was referenced Sep 12, 2017
@tobrun tobrun added this to the android-v5.2.0 milestone Sep 26, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Android Mapbox Maps SDK for Android iOS Mapbox Maps SDK for iOS macOS Mapbox Maps SDK for macOS MapKit parity For feature parity with MapKit on iOS or macOS
Projects
None yet
Development

No branches or pull requests

4 participants