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

Add source getter to MGLStyle #5975

Closed
1ec5 opened this issue Aug 12, 2016 · 0 comments · Fixed by #5980
Closed

Add source getter to MGLStyle #5975

1ec5 opened this issue Aug 12, 2016 · 0 comments · Fixed by #5980
Assignees
Labels
iOS Mapbox Maps SDK for iOS macOS Mapbox Maps SDK for macOS runtime styling
Milestone

Comments

@1ec5
Copy link
Contributor

1ec5 commented Aug 12, 2016

MGLStyle should have a -sourceWithIdentifier: method for random access to the style’s sources. It would call mbgl::Map::getSource() and convert the returned mbgl::style::Source into an MGLSource object. MGLSource may need -hash and -isEqual: implementations.

/cc @frederoni

@1ec5 1ec5 added iOS Mapbox Maps SDK for iOS macOS Mapbox Maps SDK for macOS labels Aug 12, 2016
@1ec5 1ec5 added this to the ios-v3.4.0 milestone Aug 12, 2016
@frederoni frederoni self-assigned this Aug 12, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
iOS Mapbox Maps SDK for iOS macOS Mapbox Maps SDK for macOS runtime styling
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants