-
Notifications
You must be signed in to change notification settings - Fork 16
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
Display entire france for empty datasets #649
Conversation
|
Codecov Report
@@ Coverage Diff @@
## master #649 +/- ##
=========================================
+ Coverage 4.9% 4.93% +0.03%
=========================================
Files 112 113 +1
Lines 1489 1498 +9
=========================================
+ Hits 73 74 +1
- Misses 1416 1424 +8
Continue to review full report at Codecov.
|
Example: https://geodatagouv-pr-649.herokuapp.com/fr/datasets/ef071ed1653b727062cef514c72dc957eea971cb A small message is now displayed when the dataset is empty. |
0ad6470
to
90ff235
Compare
Validate bounding boxes in order to do that.
90ff235
to
5e9cfb5
Compare
@turf/bbox with return
[Infinity, Infinity, Infinity, Infinity]
if the dataset is empty.In that case we still display the map, centered on France.