Skip to main content

Center and Zoom Level

Typically we will want to specify the center of the map and the zoom level.

import { Map } from '@jetblack/map'

export default function App() {
return (
<Map
width='600px'
height='400px'
center={{ latitude: 51.4768 longitude: -0.0005 }}
zoom={12}
/>
)
}