core: rename mbgl namespace to mln (#4487)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
Bart Louwers
2026-08-14 23:25:20 +02:00
committed by GitHub
parent 836b862984
commit 550f64be22
1970 changed files with 8931 additions and 8967 deletions

View File

@@ -22,7 +22,7 @@
using namespace std::numbers;
class LineTestDrawableLayer : public mbgl::style::CustomDrawableLayerHost {
class LineTestDrawableLayer : public mln::style::CustomDrawableLayerHost {
public:
void initialize() override {}
@@ -35,7 +35,7 @@ public:
// add polylines
{
using namespace mbgl;
using namespace mln;
constexpr auto numLines = 6;
Interface::LineOptions options[numLines]{
@@ -128,7 +128,7 @@ public:
void deinitialize() override {}
};
class FillTestDrawableLayer : public mbgl::style::CustomDrawableLayerHost {
class FillTestDrawableLayer : public mln::style::CustomDrawableLayerHost {
public:
void initialize() override {}
@@ -141,7 +141,7 @@ public:
// add fill polygon
{
using namespace mbgl;
using namespace mln;
GeometryCollection geometry{
{
@@ -176,7 +176,7 @@ public:
void deinitialize() override {}
};
class SymbolIconTestDrawableLayer : public mbgl::style::CustomDrawableLayerHost {
class SymbolIconTestDrawableLayer : public mln::style::CustomDrawableLayerHost {
public:
void initialize() override {}
@@ -189,7 +189,7 @@ public:
// add symbol icon
{
using namespace mbgl;
using namespace mln;
GeometryCoordinate position{static_cast<int16_t>(util::EXTENT * 0.5f),
static_cast<int16_t>(util::EXTENT * 0.5f)};
@@ -235,8 +235,8 @@ public:
};
TEST(CustomDrawableLayer, Line) {
using namespace mbgl;
using namespace mbgl::style;
using namespace mln;
using namespace mln::style;
util::RunLoop loop;
@@ -259,8 +259,8 @@ TEST(CustomDrawableLayer, Line) {
}
TEST(CustomDrawableLayer, Fill) {
using namespace mbgl;
using namespace mbgl::style;
using namespace mln;
using namespace mln::style;
util::RunLoop loop;
@@ -283,8 +283,8 @@ TEST(CustomDrawableLayer, Fill) {
}
TEST(CustomDrawableLayer, SymbolIcon) {
using namespace mbgl;
using namespace mbgl::style;
using namespace mln;
using namespace mln::style;
util::RunLoop loop;