Chakra UI Map - Horizon UI
For more info on the MapBox library you can read here .
Import#
import Map from "react-map-gl"
import "mapbox-gl/dist/mapbox-gl.css"
Usage#
function Example() {return (<Box color="white"><iframesrc="https://codesandbox.io/embed/nice-water-1v4hzb?fontsize=14&hidenavigation=1&initialpath=%2Fmap&module=%2Fsrc%2FApp.js&theme=dark"width="100%"height="700px"ms="-15px"overflow="hidden"></iframe></Box>)}