Merge branch 'master' into workingToni
This commit is contained in:
@@ -131,6 +131,7 @@ namespace Floorplan {
|
||||
|
||||
}
|
||||
|
||||
|
||||
/** add all sorts of POI to the floor */
|
||||
static void addFloorPOI(XMLDoc& doc, XMLElem* floor, const Floor* mf) {
|
||||
|
||||
@@ -190,6 +191,18 @@ namespace Floorplan {
|
||||
floor->InsertEndChild(beacons);
|
||||
|
||||
|
||||
XMLElem* fingerprints = doc.NewElement("fingerprints");
|
||||
for (const FingerprintLocation* fpl : mf->fpLocations) {
|
||||
XMLElem* efpl = doc.NewElement("location");
|
||||
efpl->SetAttribute("name", fpl->name.c_str());
|
||||
efpl->SetAttribute("x", fpl->posOnFloor.x);
|
||||
efpl->SetAttribute("y", fpl->posOnFloor.y);
|
||||
efpl->SetAttribute("dz", fpl->heightAboveFloor);
|
||||
addMetaElement(doc, efpl, fpl->getMeta());
|
||||
fingerprints->InsertEndChild(efpl);
|
||||
}
|
||||
floor->InsertEndChild(fingerprints);
|
||||
|
||||
}
|
||||
|
||||
static void addFloorOutline(XMLDoc& doc, XMLElem* floor, const Floor* mf) {
|
||||
|
||||
Reference in New Issue
Block a user