mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 21:30:05 +00:00
Draw a triangle on the map
This commit is contained in:
parent
b1e00cca83
commit
79ab14ab95
6 changed files with 250 additions and 364 deletions
|
|
@ -38,6 +38,8 @@ private:
|
|||
void initializeGL() override final;
|
||||
void paintGL() override final;
|
||||
|
||||
void AddLayers();
|
||||
|
||||
QPointF lastPos_;
|
||||
|
||||
QMapboxGLSettings settings_;
|
||||
|
|
@ -45,11 +47,8 @@ private:
|
|||
|
||||
uint64_t frameDraws_ = 0;
|
||||
|
||||
QVariant symbolAnnotationId_;
|
||||
QVariant lineAnnotationId_;
|
||||
QVariant fillAnnotationId_;
|
||||
|
||||
bool sourceAdded_ = false;
|
||||
private slots:
|
||||
void mapChanged(QMapboxGL::MapChange);
|
||||
};
|
||||
|
||||
} // namespace qt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue