mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 17:00:05 +00:00
Refactor QMapLibreGL to QMapLibre
This commit is contained in:
parent
db0d26a4ad
commit
1fd52f771c
55 changed files with 305 additions and 313 deletions
|
|
@ -204,8 +204,7 @@ void OverlayLayer::Initialize()
|
|||
});
|
||||
}
|
||||
|
||||
void OverlayLayer::Render(
|
||||
const QMapLibreGL::CustomLayerRenderParameters& params)
|
||||
void OverlayLayer::Render(const QMapLibre::CustomLayerRenderParameters& params)
|
||||
{
|
||||
gl::OpenGLFunctions& gl = context()->gl();
|
||||
auto radarProductView = context()->radar_product_view();
|
||||
|
|
@ -393,12 +392,12 @@ void OverlayLayer::Deinitialize()
|
|||
}
|
||||
|
||||
bool OverlayLayer::RunMousePicking(
|
||||
const QMapLibreGL::CustomLayerRenderParameters& params,
|
||||
const QPointF& mouseLocalPos,
|
||||
const QPointF& mouseGlobalPos,
|
||||
const glm::vec2& mouseCoords,
|
||||
const common::Coordinate& mouseGeoCoords,
|
||||
std::shared_ptr<types::EventHandler>& eventHandler)
|
||||
const QMapLibre::CustomLayerRenderParameters& params,
|
||||
const QPointF& mouseLocalPos,
|
||||
const QPointF& mouseGlobalPos,
|
||||
const glm::vec2& mouseCoords,
|
||||
const common::Coordinate& mouseGeoCoords,
|
||||
std::shared_ptr<types::EventHandler>& eventHandler)
|
||||
{
|
||||
// If sweep time was picked, don't process additional items
|
||||
if (p->sweepTimePicked_)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue