Skip to main content

Interface: MapContextProps

The prop type of a [[MapContext]].

This is the information that children of the map will need.

Properties​

bounds​

• bounds: Bounds

The bounds of the map in the screen coordinate system

Defined in​

components/MapContext.ts:18


center​

• center: Coordinate

The latitude and longitude of the center of the map

Defined in​

components/MapContext.ts:14


tileProvider​

• tileProvider: TileProvider

The tile provider

Defined in​

components/MapContext.ts:22


worldBounds​

• worldBounds: CoordinateBounds

The bounds of the map in the world coordinate system

Defined in​

components/MapContext.ts:20


zoom​

• zoom: number

The zoom level

Defined in​

components/MapContext.ts:16