models/campus_map library

Classes

CampusMapBuilding
A campus building with its outline and available indoor floors.
CampusMapCampus
A public campus boundary with a server name and stable campus code.
CampusMapFloor
One published indoor layer belonging to a building.
CampusMapFloorData
A floor's cached spaces and whether a complete geometry fetch succeeded.
CampusMapPolygon
A polygon with an exterior ring followed by any interior holes.
CampusMapRoom
A searchable indoor space, optionally containing downloaded geometry.

Functions

decodeCampusMapGeometry(String source) → List<CampusMapPolygon>
Restores polygons stored by encodeCampusMapGeometry.
encodeCampusMapGeometry(List<CampusMapPolygon> polygons) → String
Serializes polygons for a single building or room in the local database.
normalizeCampusMapQuery(String value) → String
Normalizes classroom queries, including full-width ASCII and separators.

Typedefs

CampusMapPoint = ({double latitude, double longitude})
A geographic coordinate in degrees, independent of the map renderer.