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

WidthUnits/radiusUnits: add new 'common' unit type #241

Merged
merged 3 commits into from
Apr 4, 2022

Conversation

davidcalhoun
Copy link
Contributor

A new common unit type has been added which is now available in addition to the previously available types meters and pixels.

See supported units docs and also scatterplot docs.

@danmarshall
Copy link
Owner

Should we make a new type and have these two point at it?

@davidcalhoun
Copy link
Contributor Author

davidcalhoun commented Apr 4, 2022

@danmarshall Thanks for the tip, looks like there's an existing declaration for UNITS in constants that I was able to point to to avoid duplication! Updated the code.

@danmarshall danmarshall merged commit e4b0473 into danmarshall:master Apr 4, 2022
@danmarshall
Copy link
Owner

Thanks! Published 4.9.21

hellocreep pushed a commit to maptable/deckgl-typings that referenced this pull request Apr 6, 2022
* WidthUnits/radiusUnits: add new 'common' unit type

* use UNIT const

* ScatterplotLayerProps: fix UNIT import
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants