-
Notifications
You must be signed in to change notification settings - Fork 33
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
make sure drawing happens in a sane place #79
Comments
@timelyportfolio an attempt at signaling when features are drawn in a location outside the standard longitude range between -180 & 180. This now emits a warning which is possibly highlighted using crayon (if available) in nasty red background with white text :-) . |
Very happy it's just a signal and not an error :) |
@tim-salabim would this require a dependency on |
@timelyportfolio |
@tim-salabim I see now. I missed your commit and misunderstood thinking we were discussing in theory. Adding a JavaScript warning should be fairly straightfoward. I will leave this open as a reminder to work on this once we have finished the prioritized open items. |
See https://stackoverflow.com/questions/51580551/convert-xy-to-lat-long-in-r
We should probably add a check whether drawing happened / is happening within acceptable
longlat
bounds (-180/180 & -90/90)The text was updated successfully, but these errors were encountered: