Package-level declarations
Types
Link copied to clipboard
Everything a KML document holds that this app can draw: vector features as GeoJSON, plus the image overlays.
Link copied to clipboard
Link copied to clipboard
object KmlToGeoJson
Converts KML into the GeoJSON MapLibre can read.
Link copied to clipboard
One corner of a draped image, longitude first as GeoJSON orders them.
Link copied to clipboard
data class OverlayCorners(val topLeft: OverlayCorner, val topRight: OverlayCorner, val bottomRight: OverlayCorner, val bottomLeft: OverlayCorner)
The four corners of a ground overlay's image: top-left, top-right, bottom-right, bottom-left.
Functions
Link copied to clipboard
Where the overlay's image corners land, with the box's <rotation> applied.
Link copied to clipboard
Minimal JSON string escaping — KML descriptions routinely carry quotes, newlines and CDATA-wrapped HTML.
Link copied to clipboard
The image entries a KMZ packs for its ground overlays, keyed by the entry name an overlay's href uses.