summaryrefslogtreecommitdiff
path: root/macosx/main.mm
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/main.mm')
-rw-r--r--macosx/main.mm8
1 files changed, 4 insertions, 4 deletions
diff --git a/macosx/main.mm b/macosx/main.mm
index e12103f35e..da78f089c5 100644
--- a/macosx/main.mm
+++ b/macosx/main.mm
@@ -5,20 +5,20 @@
#import <Foundation/Foundation.h>
int main() {
- llmr::Log::Set<llmr::NSLogBackend>();
+ mbgl::Log::Set<mbgl::NSLogBackend>();
GLFWView view;
- llmr::Map map(view);
+ mbgl::Map map(view);
// Load settings
- llmr::Settings_NSUserDefaults settings;
+ mbgl::Settings_NSUserDefaults settings;
map.setLonLatZoom(settings.longitude, settings.latitude, settings.zoom);
map.setAngle(settings.angle);
map.setDebug(settings.debug);
// Set access token if present
NSString *accessToken = [[NSProcessInfo processInfo] environment][@"MAPBOX_ACCESS_TOKEN"];
- if ( ! accessToken) llmr::Log::Warning(llmr::Event::Setup, "No access token set. Mapbox vector tiles won't work.");
+ if ( ! accessToken) mbgl::Log::Warning(mbgl::Event::Setup, "No access token set. Mapbox vector tiles won't work.");
if (accessToken) map.setAccessToken([accessToken cStringUsingEncoding:[NSString defaultCStringEncoding]]);
// Load style