MapFullPageBlockSchema
constMapFullPageBlockSchema:z.ZodObject<any>
Defined in: packages/core/src/schemas/map.schema.ts:953
Full-page map block.
Remarks
Section titled “Remarks”Creates a map that fills the entire viewport. Automatically handles viewport sizing and positioning. Ideal for map-focused pages.
Example
Section titled “Example”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