Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor StyleLayer, StyleDeclaration and StyleTransition #2642

Closed
lucaswoj opened this issue May 31, 2016 · 2 comments
Closed

Refactor StyleLayer, StyleDeclaration and StyleTransition #2642

lucaswoj opened this issue May 31, 2016 · 2 comments

Comments

@lucaswoj
Copy link
Contributor

ref #2629 (comment)

@lucaswoj lucaswoj changed the title Refactor StyleLayer, StyleDeclaration and StyleTransition into StyleValue class Refactor StyleLayer, StyleDeclaration and StyleTransition Jun 1, 2016
@lucaswoj
Copy link
Contributor Author

lucaswoj commented Jun 1, 2016

  • make StyleTransition conform to the same interface as StyleDeclaration
  • move all methods that operate on a single property to StyleDeclaration
    • setLayoutProperty
    • getLayoutProperty
    • getLayoutValue
    • setPaintProperty
    • getPaintProperty
    • getPaintValue
    • getPaintValueStopZoomLevels
    • getPaintInterpolationT
    • isPaintValueFeatureConstant
    • isPaintValueZoomConstant

@lucaswoj
Copy link
Contributor Author

Duplicate of #2739

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant