Skip to main content

Interface: MapProps

The prop type of a [[Map]] component.

Properties​

background​

• Optional background: string | number

The untilled background

Defined in​

components/Map.tsx:41


center​

• Optional center: Coordinate

The center of the map

Defined in​

components/Map.tsx:29


children​

• Optional children: ReactNode

Map components

Defined in​

components/Map.tsx:39


height​

• Optional height: string | number

The screen height

Defined in​

components/Map.tsx:35


tileProvider​

• Optional tileProvider: TileProvider

The tile provider

Defined in​

components/Map.tsx:37


width​

• Optional width: string | number

The screen width

Defined in​

components/Map.tsx:33


zoom​

• Optional zoom: number

The zoom level

Defined in​

components/Map.tsx:31