Skip to content

Add an action to force resize of Map component #2665

@allyoucanmap

Description

@allyoucanmap

Description

Currently there are a resize props on Map Component that when change it triggers updateSize() or invalidateSize()

these are the actions where resize has been used

In some cases could be useful to have a simple action that increase resize to trigger the invalidate or update function (resizeMap, RESIZE_MAP)

e.g. when a map is inside a layout that changes size of map container

Other useful information (optional):

this polyfill or it's implementation can be useful, waiting for the implementation of ResizeObserver

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions