MapLibre Native Core
tile_necessity.hpp
Go to the documentation of this file.
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
mbgl
Definition:
actor.hpp:15
mbgl::TileNecessity
TileNecessity
Definition:
tile_necessity.hpp:10
mbgl::TileNecessity::Required
@ Required
mbgl::TileNecessity::Optional
@ Optional
include
mbgl
tile
tile_necessity.hpp
MapLibre website
|
GitHub repository