In this mapbox-gl-js PR, padding was added as an option for camera options. However using it in the Mapbox Component, eg:
<Mapbox
style={`mapbox://styles/mapbox/dark-v10`}
containerStyle={{
height: "100vh",
width: "100vw",
}}
flyToOptions={{
padding: {
left: 100,
}
}}
padding={{
left: 100,
}}
>
</Mapbox>
does not work. You can see I tried it in two places. Could this be added?
In this mapbox-gl-js PR, padding was added as an option for camera options. However using it in the Mapbox Component, eg:
does not work. You can see I tried it in two places. Could this be added?