MapsIndoors iOS SDK V3
|
#include <MPBuildingDataset.h>
Instance Methods | |
(nullable MPBuilding *) | - getBuilding: |
(void) | - setBuildingDelegate: |
(double) | - intersectionAreaBetweenBounds:andBounds: |
Properties | |
NSString * | type |
NSArray * | features |
Collection of buildings with some retrieval and calculation functionality.
- (nullable MPBuilding *) getBuilding: | (nonnull NSString *) | shortName |
Retrieve a building by its unique shortname.
shortName | The shortname of the building |
- (double) intersectionAreaBetweenBounds: | (nonnull GMSCoordinateBounds *) | b1 | |
andBounds: | (nonnull GMSCoordinateBounds *) | b2 |
Get the intersection area on two GMSCoordinateBounds.
b1 | Some coordinate bounds (Typically the current map viewport bounds) |
b2 | Some other coordinate bounds (Typically building bounds) |
- (void) setBuildingDelegate: | (nullable NSObject< MPBuildingDelegate > *) | delegate |
Assign a delegate object to all buildings in the collection, this object will hold the onBuildingReady:shortName event method.
delegate | The delegate object |
|
readwritenonatomicstrong |
Array of buildings contained in the collection.
|
readwritenonatomicstrong |
The type of data (equals "FeatureCollection").