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.

Tiles are cached by url template in the database #7455

Closed

Description

@wibge

Tilesets are cached by url template, if the url to a tile source changes previously cached and downloaded maps are not seamlessly loaded.

We have tile sources that have frequently changing API keys as part of the URL.

Platform: ios
Mapbox SDK version: 3.4

Steps to trigger behavior

  1. Create a tileset with a URL containing an API key
  2. Cache tiles from the tileset
  3. Change the API key in the URL

Expected behavior

Cached tiles are displayed when the tileset is on screen

Actual behavior

Cached tiles are not displayed

I'd propose adding an optional tilecachekey parameter to use to override caching by url template.

Activity

  1. added
    Core
    on Dec 15, 2016
  2. jfirebaugh commented on Mar 6, 2017

    @jfirebaugh
    Contributor

    #8084 adds a feature that provides the ability to modify the URL independently of the value used for a cache key. Per #8041 (comment), I believe this addresses your use case.

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

    Corefeature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions