Update to latest maplibre-gl-native, including rename from QMapboxGL to QMapLibreGL

This commit is contained in:
Dan Paulat 2022-10-20 22:54:53 -05:00
parent 243e874b55
commit 2ac141ea1a
30 changed files with 143 additions and 133 deletions

View file

@ -22,7 +22,7 @@ public:
~Impl() {}
std::weak_ptr<QMapboxGL> map_;
std::weak_ptr<QMapLibreGL::Map> map_;
MapSettings settings_;
std::shared_ptr<view::RadarProductView> radarProductView_;
common::RadarProductGroup radarProductGroup_;
@ -40,7 +40,7 @@ MapContext::~MapContext() = default;
MapContext::MapContext(MapContext&&) noexcept = default;
MapContext& MapContext::operator=(MapContext&&) noexcept = default;
std::weak_ptr<QMapboxGL> MapContext::map() const
std::weak_ptr<QMapLibreGL::Map> MapContext::map() const
{
return p->map_;
}
@ -70,7 +70,7 @@ int16_t MapContext::radar_product_code() const
return p->radarProductCode_;
}
void MapContext::set_map(std::shared_ptr<QMapboxGL> map)
void MapContext::set_map(std::shared_ptr<QMapLibreGL::Map> map)
{
p->map_ = map;
}