Skip to main content

Module geolocation

Module geolocation 

Source
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§

GeolocationProbeConfig
Configuration the user attaches to a NodeType::GeolocationProbe to tune the platform subscription. Maps to W3C PositionOptions (enableHighAccuracy + maximumAge + timeout).
LocationFix
One GPS / network-located fix. Mirrors the W3C GeolocationPosition shape so the future web backend lands without API churn.

Enums§

OptionLocationFix