Makes the life of people using Linux as development environment way easier. Just press 's' to cycle through 3 different styles.
40 lines
735 B
C++
40 lines
735 B
C++
#ifndef MBGL_UTIL_CONSTANTS
|
|
#define MBGL_UTIL_CONSTANTS
|
|
|
|
#include <cmath>
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
namespace mbgl {
|
|
|
|
namespace util {
|
|
|
|
extern const float tileSize;
|
|
|
|
extern const double DEG2RAD;
|
|
extern const double RAD2DEG;
|
|
extern const double M2PI;
|
|
extern const double EARTH_RADIUS_M;
|
|
extern const double LATITUDE_MAX;
|
|
|
|
}
|
|
|
|
namespace debug {
|
|
|
|
extern const bool tileParseWarnings;
|
|
extern const bool styleParseWarnings;
|
|
extern const bool spriteWarnings;
|
|
extern const bool renderWarnings;
|
|
extern const bool renderTree;
|
|
extern const bool labelTextMissingWarning;
|
|
extern const bool missingFontStackWarning;
|
|
extern const bool missingFontFaceWarning;
|
|
extern const bool glyphWarning;
|
|
extern const bool shapingWarning;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|