Files prefix changed from MGL to MLN (#919)

This commit is contained in:
Alex Cristici
2023-03-21 14:18:26 +02:00
committed by GitHub
parent 35a8752083
commit d72cd766c8
467 changed files with 13884 additions and 13872 deletions

View File

@@ -34,7 +34,7 @@ void GLFWRendererFrontend::render() {
mbgl::gfx::BackendScope guard { glfwView.getRendererBackend(), mbgl::gfx::BackendScope::ScopeType::Implicit };
// onStyleImageMissing might be called during a render. The user implemented method
// could trigger a call to MGLRenderFrontend#update which overwrites `updateParameters`.
// could trigger a call to MLNRenderFrontend#update which overwrites `updateParameters`.
// Copy the shared pointer here so that the parameters aren't destroyed while `render(...)` is
// still using them.
auto updateParameters_ = updateParameters;

View File

@@ -100,7 +100,7 @@ int main(int argc, char *argv[]) {
}
// Set access token if present
const char* apikeyEnv = getenv("MGL_API_KEY");
const char* apikeyEnv = getenv("MLN_API_KEY");
const std::string apikey = apikeyValue ? args::get(apikeyValue) : (apikeyEnv ? apikeyEnv : std::string());
auto mapTilerConfiguration = mbgl::TileServerOptions::MapTilerConfiguration();