move tile urls to static consts rather than macros

This commit is contained in:
Konstantin Käfer
2014-03-05 16:51:38 +01:00
parent e9981f0c15
commit b97a9778ea
2 changed files with 7 additions and 3 deletions

View File

@@ -5,11 +5,11 @@
#include <functional>
#include <string>
#define kTileURL "http://a.gl-api-us-east-1.tilestream.net/v3/mapbox.mapbox-streets-v4/%d/%d/%d.gl.pbf"
#define kSpriteURL "https://dl.dropboxusercontent.com/u/575564/sprite"
namespace llmr {
extern const char *kTileURL;
extern const char *kSpriteURL;
namespace platform {
// Restarts painting. This could for example trigger the event loop of the controlling application.

View File

@@ -0,0 +1,4 @@
#include <llmr/platform/platform.hpp>
const char *llmr::kTileURL = "http://a.gl-api-us-east-1.tilestream.net/v3/mapbox.mapbox-streets-v4/%d/%d/%d.gl.pbf";
const char *llmr::kSpriteURL = "https://dl.dropboxusercontent.com/u/575564/sprite";