add user agent header

fixes #628
This commit is contained in:
Konstantin Käfer
2014-12-08 10:56:00 +01:00
parent de098591c5
commit 1f91be988b
4 changed files with 7 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
#include <mbgl/util/constants.hpp>
const float mbgl::util::tileSize = 512.0f;
const char *mbgl::util::userAgent = "MapboxGL/1.0 (+https://mapbox.com/mapbox-gl/)";
#if defined(DEBUG)
const bool mbgl::debug::tileParseWarnings = false;