Draw a triangle on the map

This commit is contained in:
Dan Paulat 2021-06-26 21:35:25 -05:00
parent b1e00cca83
commit 79ab14ab95
6 changed files with 250 additions and 364 deletions

View file

@ -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