MapContext has a GlContext instead of MapContext is a GlContext

This commit is contained in:
Dan Paulat 2025-05-07 22:37:45 -05:00
parent 58f2609fe7
commit 2d4ad2737e
31 changed files with 147 additions and 307 deletions

View file

@ -6,11 +6,7 @@
#include <QMapLibre/Settings>
namespace scwx
{
namespace qt
{
namespace map
namespace scwx::qt::map
{
enum class MapProvider
@ -19,9 +15,8 @@ enum class MapProvider
MapTiler,
Unknown
};
typedef scwx::util::
Iterator<MapProvider, MapProvider::Mapbox, MapProvider::MapTiler>
MapProviderIterator;
using MapProviderIterator = scwx::util::
Iterator<MapProvider, MapProvider::Mapbox, MapProvider::MapTiler>;
struct MapStyle
{
@ -29,7 +24,7 @@ struct MapStyle
std::string url_;
std::vector<std::string> drawBelow_;
bool IsValid() const;
[[nodiscard]] bool IsValid() const;
};
struct MapProviderInfo
@ -45,6 +40,4 @@ std::string GetMapProviderName(MapProvider mapProvider);
std::string GetMapProviderApiKey(MapProvider mapProvider);
const MapProviderInfo& GetMapProviderInfo(MapProvider mapProvider);
} // namespace map
} // namespace qt
} // namespace scwx
} // namespace scwx::qt::map