# LayerGeometry

The geometry of a decoded feature: the GeoJSON types a layer can draw.
Positions keep longitude first and drop any third value (depth is mapped
into a field instead).

This is a type alias exported by `@mapcairn/sdk/browser`, checked against version 0.2.0.

## Signature

```ts
import type { LayerGeometry } from "@mapcairn/sdk/browser";
 
type LayerGeometry = {
    readonly type: "Point";
    readonly coordinates: Position;
} | {
    readonly type: "LineString";
    readonly coordinates: readonly Position[];
} | {
    readonly type: "MultiLineString";
    readonly coordinates: readonly (readonly Position[])[];
} | {
    readonly type: "Polygon";
    readonly coordinates: readonly (readonly Position[])[];
} | {
    readonly type: "MultiPolygon";
    readonly coordinates: readonly (readonly (readonly Position[])[])[];
};
```

## See also

- [`Position`](https://docs.mapcairn.com/api/sdk/browser/Position.md)
