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

Added style typedefs. #904

Merged
merged 3 commits into from
Aug 31, 2018
Merged

Added style typedefs. #904

merged 3 commits into from
Aug 31, 2018

Conversation

manthey
Copy link
Contributor

@manthey manthey commented Aug 24, 2018

Moved all style specifications into jsdoc typedefs called <class>.styleSpec.

This also adds a link within the style function description that links to the styleSpec of the current class (even within classes that inherit style). This resolves #70 and resolves #857 (for all features that have up to date documentation).

@aashish24
Copy link
Member

@johnkit

@manthey manthey force-pushed the style-spec branch 3 times, most recently from 5ad09a0 to 994ce52 Compare August 29, 2018 17:53
@aashish24
Copy link
Member

@johnkit could you review it soon?

Copy link

@johnkit johnkit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We know of a couple wayward highlights, but they are non-critical and can be resolved later.

Moved all style specifications into jsdoc typedefs called
`<class>.styleSpec`.
Remove a function that was untested and incorrect from the fileReader.
Add tests for the fileReader.

Rename the `jsonReader` to `geojsonReader`.  An alias called
`jsonReader` is maintained to not break existing code.  The
geojsonReader can take style defaults for points, lines, and polygons.

This uses newer language features, such as the spread operator.

This resolves #822.  This resolves #297, though it does not add a load
event.  If that is still desired, a new issue should be made.
Update the fileReader and geojsonReader.
@manthey manthey merged commit fe0b139 into master Aug 31, 2018
@manthey manthey deleted the style-spec branch August 31, 2018 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants