Skip to content

v0.4.27 - #106

Merged
roncodes merged 7 commits into
mainfrom
dev-v0.4.27
Apr 30, 2024
Merged

v0.4.27#106
roncodes merged 7 commits into
mainfrom
dev-v0.4.27

Conversation

@doljko

@doljko doljko commented Apr 19, 2024

Copy link
Copy Markdown
Contributor

No description provided.

@roncodes roncodes changed the title preparing v04.27 branch v0.4.27 Apr 30, 2024
@roncodes
roncodes merged commit 46a2fa7 into main Apr 30, 2024
@roncodes
roncodes deleted the dev-v0.4.27 branch April 30, 2024 09:48
roncodes added a commit that referenced this pull request Sep 5, 2026
Nine tests: markers vs polygons on registration, re-centring on user.located,
the service-area menu's blur/create-zone/edit-boundaries callbacks (and
edit-boundaries correctly absent on Google Maps), the zone menu's boundary
editing, a zone in a plain array removed through `set`, and loadResource's
onLoaded/onFailure options — no in-repo caller, but reachable through the
component published on the universe, so covered as an extension would.

DEFECTS #106: `#getValidLatitude` and `#getValidLongitude` each appear exactly
once — their own declarations — and are never called. The constructor reads
`location.getLatitude()` raw, while the line above it wires the sibling
`getValidZoom()`. A NaN or out-of-range coordinate reaches Leaflet as the map
centre and the fallback is dead. Two lines would fix it, but that is a
behaviour change; recorded, pragma'd with the trace, and the test pins current
behaviour so the fix has an assertion to update.

leaflet-live-map.js 296/345 -> 304/345 statements, 134/201 -> 141/201
branches, 53/70 -> 57/70 functions.
Global: statements 8091 -> 8099 (43.64%), branches 5094 -> 5101,
functions 2211 -> 2215, lines 7661 -> 7669. Tests 1569 -> 1578;
failures unchanged at 80, none new. Lint 0.
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

Successfully merging this pull request may close these issues.

2 participants