Package-level declarations

Types

Link copied to clipboard
data class ClusterMember(val nodeNum: Int, val longName: String, val shortName: String)

One node inside a tapped cluster.

Link copied to clipboard

Property keys carried on node features. MapLibre styles nodes by reading these back out through feature expressions, so every value the map needs to draw a node must be written here — a layer cannot reach into the ViewModel.

Link copied to clipboard

Property keys carried on waypoint features.

Functions

Link copied to clipboard
fun geofencesToFeatureCollection(waypoints: Collection<DataPacket>): FeatureCollection<Geometry, JsonObject?>

Geofence zones attached to waypoints, as real ground polygons.

Link copied to clipboard
fun nodesToFeatureCollection(nodes: List<Node>, myNodeNum: Int? = null): FeatureCollection<Point, JsonObject?>

Projects nodes into a GeoJSON FeatureCollection for the clustered node source.

Link copied to clipboard
fun precisionCirclesToFeatureCollection(nodes: List<Node>): FeatureCollection<Polygon, JsonObject?>

Ground circles for every node broadcasting a degraded position.

Link copied to clipboard
fun waypointsToFeatureCollection(waypoints: Collection<DataPacket>): FeatureCollection<Point, JsonObject?>

Waypoint markers.