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.

Replace current internal zoom API with camera API alternative #4406

Closed

Description

@tobrun

This is needed to cleanly invalidate the camera position.

For 4.0.0 a workaround is used in #4327:

    private static class ZoomInvalidator implements Runnable{

        private MapboxMap mapboxMap;

        public ZoomInvalidator(MapboxMap mapboxMap) {
            this.mapboxMap = mapboxMap;
        }

        @Override
        public void run() {
            // invalidate camera position
            mapboxMap.getCameraPosition();
        }
    }

but in the end we need to migrate the old zoom API to the Camera API.

Activity

  1. added
    Android
    on Mar 21, 2016
  2. tobrun commented on Nov 7, 2016

    @tobrun
    MemberAuthor

    Obsolete with #6532

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

    Androidrefactor

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions