Expand description
Geolocation POD types — LocationFix + GeolocationProbeConfig.
Stateful manager lives in azul_layout::managers::geolocation.
POD types for the geolocation surface. Defined here in azul-core
so NodeType::GeolocationProbe(GeolocationProbeConfig) can carry the
config without azul-layout having to be a azul-core dependency.
The stateful side (refcount, diff queue, latest-fix storage) lives
in azul_layout::managers::geolocation::GeolocationManager and
re-exports these types for the existing import paths.
Structs§
- Geolocation
Probe Config - Configuration the user attaches to a
NodeType::GeolocationProbeto tune the platform subscription. Maps to W3CPositionOptions(enableHighAccuracy+maximumAge+timeout). - Location
Fix - One GPS / network-located fix. Mirrors the W3C
GeolocationPositionshape so the future web backend lands without API churn.