LevelLayerDefinition constructor

LevelLayerDefinition({
  1. required String layerId,
  2. required String levelIdField,
  3. required String levelNumberField,
  4. required String shortNameField,
  5. required String longNameField,
  6. required String verticalOrderField,
  7. required String facilityIdField,
})

Creates a new LevelLayerDefinition object using the specified Layer.id, level id field, level number field, short name field, long name field, vertical order field, and facility id field.

Parameters:

  • layerId — An ID that specifies a layer in the map or scene that describes floor levels.
  • levelIdField — The name of the attribute field that contains each level feature's unique identifier.
  • levelNumberField — The name of the attribute field that contains each level feature's level number specific to its facility.
  • shortNameField — The name of the attribute field that contains each level feature's short name.
  • longNameField — The name of the attribute field that contains each level feature's long name.
  • verticalOrderField — The name of the attribute field that contains each level feature's vertical order. The vertical order defines the order of display in a floor filtering UI component, and it also references the floor levels of an Indoor Positioning System.
  • facilityIdField — The name of the attribute field that contains each level feature's facility identifier (a foreign key to the layer that contains facility features).