You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Map's view state is exposed as a prop for external source to control. But now the viewState is not described in the docs.
If the use case does not require the map to be resized once it's mounted, it is makes it harder to manipulate the view state as we are obliged to provide the container size dimensions as width and height are mandatory.
Proposal
It would be great to have a way to control the map's view state without the need to provide the container size dimensions.
Mention of the viewState prop in the API reference would also be nice.
_updateSize would probably would look somewhat like
Target Use Case
Map's view state is exposed as a prop for external source to control. But now the viewState is not described in the docs.
If the use case does not require the map to be resized once it's mounted, it is makes it harder to manipulate the view state as we are obliged to provide the container size dimensions as
width
andheight
are mandatory.Proposal
It would be great to have a way to control the map's view state without the need to provide the container size dimensions.
Mention of the
viewState
prop in the API reference would also be nice._updateSize would probably would look somewhat like
The text was updated successfully, but these errors were encountered: