[core] use stale glyphs

Updating glyphs is still unsupported, and there's no good use case for doing so. When we're using a stale glyph PBF, and the fresh answer contains changed to that glyph, we will continue to use the old glyph.
This commit is contained in:
Konstantin Käfer
2016-01-07 18:51:19 +01:00
parent 32a2359e86
commit a88e58ef3a
9 changed files with 104 additions and 36 deletions

View File

@@ -37,7 +37,8 @@ enum class Event : uint8_t {
OpenGL,
JNI,
Android,
Crash
Crash,
Glyph,
};
MBGL_DEFINE_ENUM_CLASS(EventClass, Event, {
@@ -56,6 +57,7 @@ MBGL_DEFINE_ENUM_CLASS(EventClass, Event, {
{ Event::JNI, "JNI" },
{ Event::Android, "Android" },
{ Event::Crash, "Crash" },
{ Event::Glyph, "Glyph" },
{ Event(-1), "Unknown" },
});