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:
@@ -30,13 +30,19 @@ public:
|
||||
std::string getLayerName() const override {return "Beacons";}
|
||||
|
||||
//TODO: check
|
||||
void createBeacon(Floorplan::Beacon* b) {
|
||||
MMFloorBeacon* createBeacon(Floorplan::Beacon* b) {
|
||||
|
||||
// add to underlying model
|
||||
floor->beacons.push_back(b);
|
||||
|
||||
// // add to myself as element
|
||||
// addElement(new MMFloorBeacon(this, floor, b));
|
||||
|
||||
// add to myself as element
|
||||
addElement(new MMFloorBeacon(this, floor, b));
|
||||
MMFloorBeacon* mm = new MMFloorBeacon(this, floor, b);
|
||||
addElement(mm);
|
||||
return mm;
|
||||
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user