Level information

Each building (drawing) has a list of levels. Each level is a map and represents one floor, though that is not a rule.

{
                    "id": 46475,
                    "obj_type": "Level",
                    "properties": {
                        "main": true,
                        "name": "1",
                        "parent_level": 46465,
                        "root_geom": 13958749,
                        "zlevel": 0
                    }
                },
                {
                    "id": 46477,
                    "obj_type": "Level",
                    "properties": {
                        "name": "2",
                        "type": "indoor",
                        "zlevel": 1
                    }
                },
                {
                    "id": 46478,
                    "obj_type": "Level",
                    "properties": {
                        "name": "3",
                        "type": "indoor",
                        "zlevel": 2
                    }
                }
  • Each level creates an fm_level record.
  • The id is mapped to the external level id in fm_level.
  • The name is mapped to the name field in fm_level.
  • The zlevel orders the levels (0 is ground level).
  • The main property assigns the main level of the building and is used as the default map when a building is selected.
  • The id is used to find the correct level geometry file.