MapContext
The map component is a react context provider. The context holds the following properties:
center
: The map center coordinate,zoom
: The current zoom level,bounds
: The top, left, width, height of the HTML container,tileProvider
: The map's tile provider.