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

Raise correct style layer misuse exception - #6738

Merged
1ec5 merged 1 commit into
masterfrom
1ec5-style-raw-layer-exception-6736
Oct 18, 2016
Merged

1ec5 merged 1 commit into
masterfrom
1ec5-style-raw-layer-exception-6736

Conversation

@1ec5

@1ec5 1ec5 commented Oct 18, 2016

Copy link
Copy Markdown
Contributor

Implement the layer property on MGLStyleLayer itself, where it’s declared, so that the check for an abstract style layer doesn’t itself raise an exception. The concrete style layer classes still declare their own layers as covariant properties, although those properties aren’t actually used anywhere.

Fixes #6736.

/cc @boundsj @bsudekum

Implement the layer property on MGLStyleLayer itself, where it’s declared, so that the check for an abstract style layer doesn’t itself raise an exception. The concrete style layer classes still declare their own layers as covariant properties, although those properties aren’t actually used anywhere.
@1ec5 1ec5 added bug iOS Mapbox Maps SDK for iOS macOS Mapbox Maps SDK for macOS runtime styling labels Oct 18, 2016
@1ec5 1ec5 added this to the ios-v3.4.0 milestone Oct 18, 2016
@1ec5 1ec5 self-assigned this Oct 18, 2016
@1ec5
1ec5 merged commit ce24304 into master Oct 18, 2016
@1ec5
1ec5 deleted the 1ec5-style-raw-layer-exception-6736 branch October 18, 2016 22:03
1ec5 added a commit that referenced this pull request Oct 19, 2016
Implement the layer property on MGLStyleLayer itself, where it’s declared, so that the check for an abstract style layer doesn’t itself raise an exception. The concrete style layer classes still declare their own layers as covariant properties, although those properties aren’t actually used anywhere.

Cherry-picked from ce24304.
@1ec5

1ec5 commented Oct 19, 2016

Copy link
Copy Markdown
Contributor Author

Cherry-picked to the release-ios-v3.4.0 branch as 258acb6.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug iOS Mapbox Maps SDK for iOS macOS Mapbox Maps SDK for macOS runtime styling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants