Expanded the feature types returned by Query.nearest. In addition to PointOfInterest, Door, Annotation, Node, and Space, results can now include MapObject, LocationProfile, Connection, Area, and Facade. These map to new FindNearestResult.Feature cases (.mapObject, .locationProfile, .connection, .area, and .facade) and their matching MapDataType values in the include list
mapData.query.nearest(origin: origin, include: [.mapObject, .connection, .area]) { result in
if case .success(let results) = result {
results?.forEach { queryResult in
switch queryResult.feature {
case .connection(let connection):
print("Connection at \(queryResult.distance)m")
case .area(let area):
print("Area \(area.name) at \(queryResult.distance)m")
default:
break
}
}
}
}
Added the geometryText and floorText visibility sub-axes to FloorState.Text3D, so consumer-added 3D text and baked floor text can be toggled independently of the overall visible flag. floorText reveals through open-to-below voids, while geometryText stays current-floor only