VenueModel

public class VenueModel
extension VenueModel: NativeBase
extension VenueModel: Hashable

Represents a building or a complex of buildings, like airports or universities.

  • Undocumented

    Declaration

    Swift

    public typealias GeometryArray = [VenueGeometry]
  • Undocumented

    Declaration

    Swift

    public typealias StringToPropertyMap = [String : Property]
  • Undocumented

    Declaration

    Swift

    public typealias StringToGeometryArrayMap = [String : VenueModel.GeometryArray]
  • Undocumented

    Declaration

    Swift

    public typealias StringToStringArrayMap = [String : VenueModel.StringArray]
  • Undocumented

    Declaration

    Swift

    public typealias StringArray = [String]
  • Undocumented

    Declaration

    Swift

    public typealias DrawingArray = [VenueDrawing]
  • Undocumented

    Declaration

    Swift

    public typealias TopologyArray = [VenueTopology]
  • id

    The id of the venue model.

    Declaration

    Swift

    public var id: Int32 { get }
  • The id of the venue model.

    Declaration

    Swift

    public var identifier: String { get }
  • The geographic coordinates of the center of the venue model.

    Declaration

    Swift

    public var center: GeoCoordinates { get }
  • The GeoBox of the bounding area of the venue model.

    Declaration

    Swift

    public var boundingBox: GeoBox { get }
  • The array of the Drawing objects.

    Declaration

    Swift

    public var drawings: VenueModel.DrawingArray { get }
  • The properties of the venue model.

    Declaration

    Swift

    public var properties: VenueModel.StringToPropertyMap { get }
  • The language of the venue model.

    Declaration

    Swift

    public var language: String { get }
  • The geometries ordered by the name in an ascending order.

    Declaration

    Swift

    public var geometriesByName: VenueModel.GeometryArray { get }
  • The map from the icon names to the geometries in the drawing.

    Declaration

    Swift

    public var geometriesByIconNames: VenueModel.StringToGeometryArrayMap { get }
  • The list of topologies of the drawing.

    Declaration

    Swift

    public var topologies: VenueModel.TopologyArray { get }
  • The list of geometries of the venue or an empty list if no geometry present for venue.

    Declaration

    Swift

    public var geometries: VenueModel.GeometryArray { get }
  • Gets a drawing for a given drawing id.

    Declaration

    Swift

    public func getDrawing(drawingId: Int32) -> VenueDrawing

    Parameters

    drawingId

    The id of the drawing.

    Return Value

    The drawing with the given id or nil.

  • Gets a drawing for a given drawing id.

    Declaration

    Swift

    public func getDrawing(drawingId: String) -> VenueDrawing

    Parameters

    drawingId

    The id of the drawing.

    Return Value

    The drawing with the given id or nil.

  • Gets the filtered geometries in an ascending order.

    Declaration

    Swift

    public func filterGeometry(filter: String, filterType: VenueGeometryFilterType) -> VenueModel.GeometryArray

    Parameters

    filter

    The filter string.

    filterType

    The filter type.

    Return Value

    The list of the filtered geometries or an empty list.