-
Notifications
You must be signed in to change notification settings - Fork 6
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
[#614] Use leaflet-tools
#624
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #624 +/- ##
==========================================
+ Coverage 73.02% 73.44% +0.42%
==========================================
Files 219 218 -1
Lines 4475 4467 -8
Branches 1186 1186
==========================================
+ Hits 3268 3281 +13
+ Misses 1168 1147 -21
Partials 39 39 ☔ View full report in Codecov by Sentry. |
Hitting a weird test failure. Might be related: Leaflet/Leaflet#6416 (comment) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was hoping we could get rid of this file entirely and instead use only the exports from @open-formulieren/leaflet-tools
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could but there are still some constants specific to the sdk: DEFAULT_LAT_LNG
, DEFAULT_ZOOM
Try updating leaflet to the latest version, this code works in the new form builder 🤔 |
f78ab04
to
ccd827e
Compare
tried with no eval |
b2796f4
to
0764db1
Compare
Regarding sergei's questions: he asked if it was possible to get rid of the |
0764db1
to
5de6fee
Compare
The tile layer attribution is included in the TILE_LAYER_RD already.
Fixes #614