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 #9437

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 Android SDK.

@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 setPrefetchesTiles(boolean) and corresponding getPrefetchesTiles() or something of that nature.

#9438 is the corresponding issue for iOS and macOS.

/cc @tmpsantos @tobrun

Activity

  1. added
    Android
    performance
    on Jul 6, 2017
  2. added this to the android-v5.2.0 milestone on Jul 6, 2017
  3. 1ec5 commented on Jul 10, 2017

    @1ec5
    ContributorAuthor

    @tmpsantos says the optimal zoom delta is 4.

    Apparently this constant is defined in constants.hpp.

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

    Androidfeatureperformance

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions