move tile urls to static consts rather than macros
This commit is contained in:
@@ -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.
|
||||
|
||||
4
src/platform/platform.cpp
Normal file
4
src/platform/platform.cpp
Normal 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";
|
||||
Reference in New Issue
Block a user