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

Points with string values for lat/long behave inconsistently #914

Open
waxlamp opened this issue Aug 30, 2018 · 0 comments
Open

Points with string values for lat/long behave inconsistently #914

waxlamp opened this issue Aug 30, 2018 · 0 comments

Comments

@waxlamp
Copy link
Contributor

waxlamp commented Aug 30, 2018

When supplying location data for points as strings, sometimes the geoOn() API picks them up, and sometimes it doesn't.

The trouble here is the inconsistency, since it can be considered a client error to supply non-numeric data in the first place. The solution could be either to coerce all string values to numbers, to present a type error, or to document that non-numeric location data leads to undefined behavior.

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

No branches or pull requests

1 participant