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
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Map is not redrawn after setClasses / addClass on Android #1744
// force redraw with new theme
new Handler().postDelayed(new Runnable() {
@Override
public void run() {
mMapFragment.getMap().setZoomLevel(mMapFragment.getMap().getZoomLevel());
}
}, 0);
Activity
erf commentedon Jun 17, 2015
The following solves the problem for me:
// force redraw with new theme new Handler().postDelayed(new Runnable() { @Override public void run() { mMapFragment.getMap().setZoomLevel(mMapFragment.getMap().getZoomLevel()); } }, 0);vespakoen commentedon Jul 17, 2015
+1 Seeing the same here, setting the zoomlevel works for now..
ljbade commentedon Jul 28, 2015
@incanus I assume this works on iOS? I wonder what the difference is between Android and iOS they both just call the
Mapfunctions?bleege commentedon Aug 31, 2015
Bumping to
0.2.0.tobrun commentedon Jan 11, 2016
As indicated in #2875 style classes are obsolete, closing down.