LayerType

The imported-overlay model, shared by every renderer.

Only the final overlay draw is platform- or flavour-specific; the layer list, its storage and the import plumbing live in MapLayersManager. This is common code rather than Android's because the desktop app imports layers too — so uri is a plain string: an Android content://, a file:// under the app's own storage, or an http(s) network layer, parsed where it is used rather than by a platform URI type here.

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

A Site Planner coverage estimate. GeoJSON on the wire and parsed as such, but tracked as its own type so the layers sheet can distinguish an estimate we generated from a GeoJSON file the user imported.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard
fun valueOf(value: String): LayerType

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.