Hello everyone. Im having some trouble:
I'm making an app with a fullscreen map with markers and markerclusters. When the user clicks a marker, data is fected and a panel opens up which covers half of the screen. While doing that I have to resize the map and call map.invalidateSize(), otherwise, when the user clicks a markercluster, the center which the map will zoom to is still on the center of the screen instead of the visible map. However, this causes a problem, if the marker is close to the top when the panels opens, the marker will disappear.
Sorry if this is too complex information, its quite hard to describe but, does anyone have a solution for me? To resize the map but, call invalidateSize but still have the marker visible.