2

I am having trouble to add a mapbox custom icontrol in react.

I found an example/approach with google maps here but I cannot find the equivalent with mapbox.

Specifically, I need to render a button on the map component which when clicked would open a menu drawer from the right side of the page

***just to clarify the drawer would cover the entire height of the view

div.drawer { height: 100vh; width 15vw;` }
Aran Freel
  • 3,085
  • 5
  • 29
  • 42

0 Answers0