Skip to content

MapSectionModel

MapSectionModel = object

Defined in: packages/schema/src/model.ts:1048

A map of the record’s position, its latitude and longitude fields in decimal degrees (WGS84), centred on a marker at zoom: in the main column under title, or with sidebar as a sidebar card. The app draws it with the map style its server names, and leaves it out without one. See Maps.

kind: "map"

Defined in: packages/schema/src/model.ts:1050

A map section.


latitude: string

Defined in: packages/schema/src/model.ts:1054

The number field holding the record’s latitude.


longitude: string

Defined in: packages/schema/src/model.ts:1056

The number field holding the record’s longitude.


optional sidebar?: true

Defined in: packages/schema/src/model.ts:1060

Drawn as a sidebar card instead of in the main column.


title: string

Defined in: packages/schema/src/model.ts:1052

The section’s title.


optional when?: ShowWhen

Defined in: packages/schema/src/model.ts:1062

Whether it shows on the form, the read view or both.


optional zoom?: number

Defined in: packages/schema/src/model.ts:1058

MapLibre’s zoom, from 0 to 22; 15 when omitted.