Package-level declarations
Types
This is used for the early demo, will not be used in the final product
EncodedTileSource.kt
ImageTileSource.kt
This will be merged with DataSourceEvents
SourceMetadata.kt
An interface for a structure responsible for parsing and decoding tile data into a specific format required for rendering.
TileSource.kt
XweatherEncodedTileSource.kt
Properties
Functions
Calculates the geographic latitude/longitude bounding box for a given tile.
Checks if a polygon's vertices are in counter-clockwise (CCW) order. Assumes longitude as x and latitude as y. Conventionally, a positive signed area from the shoelace formula indicates CCW.
Reverses the list if its winding order is clockwise. Useful for ensuring a polygon ring is counter-clockwise (e.g., GeoJSON outer rings).
Reverses the list if its winding order is counter-clockwise. Useful for ensuring a polygon ring is clockwise (e.g., GeoJSON inner rings/holes).