Update placefile text data outside of render loop, polygon cleanup

This commit is contained in:
Dan Paulat 2023-08-19 21:43:57 -05:00
parent 8f2b87790a
commit b159540215
6 changed files with 60 additions and 36 deletions

View file

@ -13,6 +13,8 @@ namespace map
class PlacefileLayer : public DrawLayer
{
Q_OBJECT
public:
explicit PlacefileLayer(std::shared_ptr<MapContext> context,
const std::string& placefileName);
@ -28,6 +30,9 @@ public:
void ReloadData();
signals:
void DataReloaded();
private:
class Impl;
std::unique_ptr<Impl> p;