I have the following code for mapping,
<DeckGL
initialViewState={INITIAL_VIEW_STATE}
controller={true}
layers={layers}
getTooltip={({object}) => object && `Paths Covered`}
>
<button className="button" onClick={() => history.push("/")}>Back</button>
<StaticMap
mapStyle="mapbox://styles/mapbox/light-v9"
mapboxApiAccessToken={MAPBOX_ACCESS_TOKEN}
/>
</DeckGL>
I want to put the button inside the map,but it is showing up on top of it as shown here
How do i make sure that the button is included in the map and not rendered on top of it?