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.

iOS setDirection:animated: cancels setCenterCoordinate:animated: #1643

Closed

Description

@picciano

When the following calls are made:

[self.mapView setCenterCoordinate:newLocation.coordinate animated:YES];
[self.mapView setDirection:newLocation.course * -1 + 360 animated:YES];

The first call to setCenterCoordinate: is ignored. If the order of the calls is reversed, then the call to setDirection: is ignored.

Ideally, there would be a single method to set both centerCoordinate and direction with both items animated.

Activity

  1. incanus commented on May 26, 2015

    @incanus
    Contributor

    Ideally, there would be a single method to set both centerCoordinate and direction with both items animated.

    Interesting. MapKit gets around this with the MKMapCamera API for setting all at once. We should indeed add a combined convenience method, and I would say the current behavior is expected.

  2. added this to the iOS Beta 2 milestone on May 26, 2015
  3. added
    iOS
    on May 26, 2015
  4. modified the milestones: iOS Beta 2, iOS Beta 3 on Jun 17, 2015
  5. removed this from the iOS Beta 3 milestone on Jun 30, 2015
  6. incanus commented on Aug 28, 2015

    @incanus
    Contributor

    This will be handled by the camera API work over in #2193.

  7. added 2 commits that reference this issue on Sep 4, 2015
    02cc15f
    0a172a2
  8. added a commit that references this issue on Nov 6, 2015
    80d1a7a
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

    iOS

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions