Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
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

Closed

Description

@erf

Map is not redrawn with the new theme after setClasses / addClass on Android.

I have to zoom before changes happens.

Activity

  1. erf commented on Jun 17, 2015

    @erf
    ContributorAuthor

    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);
    
  2. added
    Android
    on Jul 2, 2015
  3. vespakoen commented on Jul 17, 2015

    @vespakoen
    Contributor

    +1 Seeing the same here, setting the zoomlevel works for now..

  4. added this to the milestone on Jul 28, 2015
  5. ljbade commented on Jul 28, 2015

    @ljbade
    Contributor

    @incanus I assume this works on iOS? I wonder what the difference is between Android and iOS they both just call the Map functions?

  6. modified the milestones: , android-v0.1.0 on Aug 31, 2015
  7. bleege commented on Aug 31, 2015

    @bleege
    Contributor

    Bumping to 0.2.0.

  8. modified the milestones: android-v2.3.0, on Dec 4, 2015
  9. tobrun commented on Jan 11, 2016

    @tobrun
    Member

    As indicated in #2875 style classes are obsolete, closing down.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Androidbug

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions