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