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

Getters for enumeration-typed style properties return nil instead of functions #6161

Closed
1ec5 opened this issue Aug 25, 2016 · 0 comments · Fixed by #6168
Closed

Getters for enumeration-typed style properties return nil instead of functions #6161

1ec5 opened this issue Aug 25, 2016 · 0 comments · Fixed by #6168
Assignees
Labels
beta blocker Blocks the next beta release bug iOS Mapbox Maps SDK for iOS macOS Mapbox Maps SDK for macOS runtime styling
Milestone

Comments

@1ec5
Copy link
Contributor

1ec5 commented Aug 25, 2016

The MGLGetEnumProperty() macro only implements constant values, not function values, so if an enumeration-typed style property is set to a function, the getter always returns nil.

/cc @frederoni

@1ec5 1ec5 added bug iOS Mapbox Maps SDK for iOS macOS Mapbox Maps SDK for macOS beta blocker Blocks the next beta release runtime styling labels Aug 25, 2016
@1ec5 1ec5 added this to the ios-v3.4.0 milestone Aug 25, 2016
@1ec5 1ec5 self-assigned this Aug 26, 2016
1ec5 added a commit that referenced this issue Aug 26, 2016
1ec5 added a commit that referenced this issue Aug 27, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
beta blocker Blocks the next beta release bug 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.

1 participant