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.

setVisibleCoordinates:count:edgePadding:animated: fails on newly instantiated map #2100

Closed

Description

@picciano

I set a line annotation and two point annotations, then call:

[self.mapView setVisibleCoordinates:coordinates count:route.points.count edgePadding:UIEdgeInsetsMake(25, 10, 45, 10) animated:NO];

The map fails to zoom properly. However, navigating away, then calling [self.mapView setVisibleCoordinates:coordinates count:route.points.count edgePadding:UIEdgeInsetsMake(25, 10, 45, 10) animated:NO]; again, zooms correctly.

Video:
http://tinypic.com/r/taqaa1/8

Activity

  1. incanus commented on Aug 17, 2015

    @incanus
    Contributor

    /cc @1ec5

  2. added
    iOS
    on Aug 17, 2015
  3. picciano commented on Aug 17, 2015

    @picciano
    Author

    Ignore this, my fault. viewDidAppear was getting called before viewDidLayoutSubviews.

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

    bugiOS

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions