Commit 17b53a2
Keep the map's zoom floor inside MapLibre's range
At Leaflet zoom 0 the adapter drives the MapLibre map to -1, below the
range MapLibre is specified for. Measured, no drift was observable there
and the centres stayed in sync, but the adapter's own README recommends a
floor of 1 and nobody views a home automation dashboard from world zoom,
so there is nothing to weigh against staying inside spec.
Spotted in #53836 by @birkskyum, which set this correctly where this
branch did not.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent 2b39054 commit 17b53a2
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
40 | 45 | | |
41 | 46 | | |
42 | 47 | | |
| |||
0 commit comments