Skip to content

[iOS] animateCamera in onStyleLoaded doesn't zoom #807

Closed

Description

@tonnyavery

Calling mapController.animateCamera after style is loaded doesn't update camera reliably

Activity

  1. tonnyavery commented on Dec 7, 2021

    @tonnyavery
    ContributorAuthor

    Adding a delay in onStyleLoadeCallback of 100ms resolves the issue, but it's hardly a proper fix. Source of the problem seems to lie in original iOS SDK implementation of mapView.animateCamera method.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions