fixed some issues

added new tools for creating APs, Beacons, GTP, POI, Fingerprints
fixed selection issue
changed new-element creation
added missing layer parameters
This commit is contained in:
2017-06-01 16:26:09 +02:00
parent 489a64fd69
commit 7a23001b82
29 changed files with 763 additions and 265 deletions

View File

@@ -29,13 +29,18 @@ public:
Floorplan::Floor* getFloor() {return floor;}
//TODO: check
void createPOI(Floorplan::POI* poi) {
MMFloorPOI* createPOI(Floorplan::POI* poi) {
// add to underlying model
floor->pois.push_back(poi);
// add to myself as element
addElement(new MMFloorPOI(this, floor, poi));
//addElement(new MMFloorPOI(this, floor, poi));
// add to myself as element
MMFloorPOI* mm = new MMFloorPOI(this, floor, poi);
addElement(mm);
return mm;
}