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

Add geometry property to MGLGeoJSONSource #5966

Closed
1ec5 opened this issue Aug 11, 2016 · 0 comments · Fixed by #6029
Closed

Add geometry property to MGLGeoJSONSource #5966

1ec5 opened this issue Aug 11, 2016 · 0 comments · Fixed by #6029
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 11, 2016

MGLGeoJSONSource should have a geometry or shape property that can hold any instance of MGLShape. (The Android equivalent is #5941.)

/cc @frederoni

@1ec5 1ec5 added iOS Mapbox Maps SDK for iOS macOS Mapbox Maps SDK for macOS labels Aug 11, 2016
@1ec5 1ec5 added this to the ios-v3.4.0 milestone Aug 11, 2016
@1ec5 1ec5 self-assigned this Aug 12, 2016
1ec5 added a commit that referenced this issue Aug 18, 2016
MGLGeoJSONSource can now be initialized with GeoJSON data. Replaced the data property with a geoJSONData property and added features and URL properties alongside it. Each property may be set or unset based on how the object was initialized.

Fixes #5965, fixes #5966.
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.

2 participants