SITMapView
Objective-C
@interface SITMapView : UIView
Swift
class SITMapView : UIView
Class that displays the map of a buillding while allowing for some functionalities: Level selection, POI search, POI detail, …
-
Delegate property to interact with the map.
Declaration
Objective-C
@property (nonatomic, weak) id<SITMapViewDelegate> _Nullable delegate;Swift
weak var delegate: (any SITMapViewDelegate)? { get set } -
Method that allows the mapView load a particular configuration (building, floor)
Declaration
Objective-C
- (void)loadWithConfiguration:(nonnull SITMapViewConfiguration *)configuration withCompletion:(SITMapViewLoadCompletion _Nonnull)completion;Swift
func load(with configuration: SITMapViewConfiguration) async throws -> any SITMapViewControllerParameters
configurationinstance of the class SITMapViewConfiguration
completioncompletion that is called when the map is correctly loaded or an error ocurred