mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 20:20:06 +00:00
Update to latest maplibre-gl-native, including rename from QMapboxGL to QMapLibreGL
This commit is contained in:
parent
243e874b55
commit
2ac141ea1a
30 changed files with 143 additions and 133 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue