Showing ist_ values in linework when available

This commit is contained in:
Frank Schubert
2022-01-27 21:33:55 +01:00
parent 823b7b7fe3
commit 23f16fdcad
2 changed files with 23 additions and 10 deletions

View File

@@ -78,6 +78,14 @@ class Building extends mfBaseModel {
return $code;
}
public function getWorkflowvalue($itemname, $type = "string") {
if(array_key_exists($itemname, $this->getProperty("workflowitems"))) {
return $this->getProperty("workflowitems")[$itemname]->value->{"value_$type"};
}
return null;
}
public function getLaeaCoordinates() {
if(!$this->gps_lat || !$this->gps_lat) {
return false;