mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-04 10:24:02 +00:00
fix(share): reject inherited style keys during restore
This commit is contained in:
1 parent
de2138e84c
commit
d49877ad2e
6 files changed
+50
-2
No files matched your search
@@ -1,5 +1,10 @@
|
||||
# God's Eye View Current State
|
||||
|
||||
Share links and structured views accept only own keys in their style registries.
|
||||
Inherited names such as `constructor` and `__proto__` fall back to the existing
|
||||
normal/null defaults without interrupting other restored fields. Programmatic
|
||||
visual-style calls ignore unknown or non-string values before mutating state.
|
||||
|
||||
Shared distance checks use `src/geoDistance.js` with `{ lat, lon }` points and
|
||||
the IUGG mean spherical Earth radius, 6371.0088 km. `greatCircleKm` is
|
||||
canonical; `greatCircleMeters` is its exact metre conversion. Missing,
|
||||
|
||||
Reference in new issue
Block a user