LayerGroundOverlay

data class LayerGroundOverlay(val imagePath: String, val corners: List<Pair<Double, Double>>)(source)

One image draped over the map for a layer: where its corners land, and the local file its pixels were resolved to.

Corners arrive computed (rotation applied) because the math lives beside the KML parser where it is tested; the renderer only drapes.

Constructors

Link copied to clipboard
constructor(imagePath: String, corners: List<Pair<Double, Double>>)

Properties

Link copied to clipboard

Four (longitude, latitude) pairs: top-left, top-right, bottom-right, bottom-left.

Link copied to clipboard