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.

Add option to prefetch low-resolution tiles #9438

Closed

Description

@1ec5

#7741 adds mbgl::Map::getPrefetchZoomDelta() and setPrefetchZoomDelta() for controlling how aggressively the map loads lower-resolution tiles. This issue tracks adding a corresponding public API to the iOS and macOS SDKs.

@tmpsantos says the optimal zoom delta is 4. Since this isn’t a value that most developers would be able to come up with on their own, we’d expose a simpler, Boolean-typed prefetchesTiles property to MGLMapView.

#9437 is the corresponding issue for Android.

/cc @tmpsantos @fabian-guerra

Activity

  1. added
    iOS
    macOS
    performance
    on Jul 6, 2017
  2. 1ec5 commented on Jul 10, 2017

    @1ec5
    ContributorAuthor

    @tmpsantos says the optimal zoom delta is 4.

    Apparently this constant is defined in constants.hpp.

  3. added
    archived
    on Nov 5, 2018
  4. stale commented on Dec 1, 2018

    @stale

    This issue has been automatically detected as stale because it has not had recent activity and will be archived. Thank you for your contributions.

  5. removed
    archived
    on Dec 2, 2018
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

    featureiOSmacOSperformance

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions