Skip to content
This repository was archived by the owner on Jul 27, 2023. It is now read-only.
This repository was archived by the owner on Jul 27, 2023. It is now read-only.

Map in non-active tab is not rendered correctly #47

Description

@gb5256

When I render the widget on a hidden tab, the map will not be rendered correctly.
(There is a thread from 2014 here, but that code is not working anymore...).

I tried to add a listener to the tab-show event. That works, but I can not figure out how to access the map container.
map.invalidateSize(false); should do it, but it throws "Map not definded"

Any ideas?
Thanks,
gb5256

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions