MNSelectionManager
open class MNSelectionManager
-
Declaration
Swift
public var zone: MNPbZone? { get } -
Declaration
Swift
public var entity: MNMapEntity? { get } -
Declaration
Swift
public var searchEntity: MNSearchEntity? { get } -
For v3.0, when select a property, we automatically select a building inside the property as well as the floor in the building.
Declaration
Swift
public func selectProperty(propertyId: Int, buildingId: Int? = nil)Parameters
propertyIdthe property you want to select.
-
Deselect the property and reset zone & entity. The method is used when removing entity from property list.
Declaration
Swift
public func deselectProperty(propertyId: Int)Parameters
propertyIdthe property you want to deselect.
-
Deselect the entity
Declaration
Swift
public func deselectEntity() -
Select the entity, return
falseif entity cannot be selectedDeclaration
Swift
public func selectEntity(entity: ISearchable) -> Bool -
Select the entity, return
falseif entity cannot be selectedDeclaration
Swift
public func selectEntity(entity: MNMapEntity?, post: Bool = false) -> Bool
MNSelectionManager Class Reference