VenueDrawing
public class VenueDrawing
extension VenueDrawing: NativeBase
extension VenueDrawing: Hashable
Represents a drawing inside the VenueModel. The drawing can be
a separate building in a complex of buildings, or show a different
view of a venue. For example, in an airport, one drawing can be used
as an overview of all buildings in this venue, while other drawings
contains details for each terminal in this airport.
-
Undocumented
Declaration
Swift
public typealias GeometryArray = [VenueGeometry] -
Undocumented
Declaration
Swift
public typealias StringToPropertyMap = [String : Property] -
Undocumented
Declaration
Swift
public typealias LevelArray = [VenueLevel] -
Undocumented
Declaration
Swift
public typealias StringToGeometryArrayMap = [String : VenueDrawing.GeometryArray] -
Undocumented
Declaration
Swift
public typealias DoubleArray = [Double] -
Undocumented
Declaration
Swift
public typealias TopologyArray = [VenueTopology] -
The
idof the drawing. This describes the identifier for drawing.Declaration
Swift
public var identifier: String { get } -
Trueif this is the root drawing andfalseotherwise. This can be used to check if this is top level drawing in venue.Declaration
Swift
public var isIsRoot: Bool { get } -
The parent venue model. It can be used to get the
VenueModelwhere this Drawing belong.Declaration
Swift
public var venueModel: VenueModel { get } -
The array with Level objects. This describes for which all level this drawing belongs.
Declaration
Swift
public var levels: VenueDrawing.LevelArray { get } -
The Geographic coordinates of the center of the drawing. It can be used to get center coordinates of drawing.
Declaration
Swift
public var center: GeoCoordinates { get } -
The key-value pairs of properties. This can be used to get different properties like name belonging to Drawing.
Declaration
Swift
public var properties: VenueDrawing.StringToPropertyMap { get } -
The geometries ordered by the name. This can be used to search geometries by name.
Declaration
Swift
public var geometriesByName: VenueDrawing.GeometryArray { get } -
The map from the icon names to the geometries in the drawing. This can be used to search the geometries by icon names.
Declaration
Swift
public var geometriesByIconNames: VenueDrawing.StringToGeometryArrayMap { get } -
The list of topologies of the drawing. This can be used to check for which all topologies are realted to Drawing.
Declaration
Swift
public var topologies: VenueDrawing.TopologyArray { get } -
Gets a geometry by an id.
Declaration
Swift
public func getGeometryById(geometryId: String) -> VenueGeometry?Parameters
geometryIdThe id of the geometry.
Return Value
The geometry with the given id or
nil. -
Gets a geometry by the
VenueGeometry.InternalAddress.Declaration
Swift
public func getGeometryByAddress(geometryAddress: String) -> VenueGeometry?Parameters
geometryAddressThe internal address as a String.
Return Value
The geometry with the given address or
nil. -
Gets filtered geometries in an ascending order.
Declaration
Swift
public func filterGeometry(filter: String, filterType: VenueGeometryFilterType) -> VenueDrawing.GeometryArrayParameters
filterThe filter string.
filterTypeThe filter type.
Return Value
The list of the filtered geometries or an empty list.