Skip to content

MapFullPageBlockSchema

const MapFullPageBlockSchema: z.ZodObject<any>

Defined in: packages/core/src/schemas/map.schema.ts:953

Full-page map block.

Creates a map that fills the entire viewport. Automatically handles viewport sizing and positioning. Ideal for map-focused pages.

Full-Page Map

- type: map-fullpage
id: fullpage-map
config:
center: [-122.4194, 37.7749]
zoom: 13
pitch: 45
mapStyle: "https://demotiles.maplibre.org/style.json"
layers:
- id: buildings
type: fill-extrusion
source:
type: vector
url: "https://example.com/buildings.json"
source-layer: buildings
paint:
fill-extrusion-color: "#aaa"
fill-extrusion-height: ["get", "height"]
controls:
navigation: true
fullscreen: true