blob: e51bf51d100964b4f45e54891f6ff281af90b5fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#pragma once
namespace mbgl {
// Tiles can have two states: optional or required.
// - optional means that only low-cost actions should be taken to obtain the data
// (e.g. load from cache, but accept stale data)
// - required means that every effort should be taken to obtain the data (e.g. load
// from internet and keep the data fresh if it expires)
enum class TileNecessity : bool {
Optional = false,
Required = true,
};
} // namespace mbgl
|