|
MapsIndoors iOS SDK V3
|
#include <MPFloorSelectorControl.h>
Instance Methods | |
| (void) | - notifyFloorSelect: |
| (void) | - addToMap: |
| (void) | - addToView: |
| (void) | - updateFrame |
| (void) | - setUserFloor: |
Instance Methods inherited from <MPFloorSelectorProtocol> | |
| (void) | - setFloor: |
| (void) | - updateFloors: |
| (void) | - deactivate |
Class Methods | |
| (nullable UIColor *) | + selectedColor |
| (void) | + setSelectedColor: |
| (nullable UIColor *) | + tintColor |
| (void) | + setTintColor: |
Properties | |
| UIColor * | floorButtonTitleColor |
| UIColor * | selectedFloorButtonTitleColor |
| UIColor * | userFloorColor |
| UIColor * | floorButtonBackgroundColor |
| UIColor * | selectedFloorButtonBackgroundColor |
| NSInteger | floorButtonBorderPadding |
| NSNumber * | currentFloor |
| NSNumber * | fromFloorIndex |
| NSNumber * | nFloors |
| NSNumber * | buttonSize |
| NSArray * | buttons |
| UIImage * | topIcon |
| UIImageView * | topImageView |
| CGFloat | maxHeight |
| BOOL | disableAutomaticLayoutManagement |
Properties inherited from <MPFloorSelectorProtocol> | |
| id< MPFloorSelectorDelegate > | delegate |
Floor selection UI element. Can be added to the map, but should be linked to an MPBuilding to make sense.
| - (void) addToMap: | (nonnull GMSMapView *) | map |
Add the floor selector to a map.
| map | The map that should hold the floor selector. |
| - (void) addToView: | (nonnull UIView *) | view |
Add the floor selector to a view.
| view | The view that should hold the floor selector. |
| - (void) notifyFloorSelect: | (nonnull id) | sender |
Method that fires when a floor button is pressed.
| sender | The button tapped |
| + (nullable UIColor *) selectedColor |
Get the background color for the selected floor button.
| + (void) setSelectedColor: | (nullable UIColor *) | value |
Set the background color for the selected floor button.
| + (void) setTintColor: | (nullable UIColor *) | value |
Set the tint color for the floor buttons.
| - (void) setUserFloor: | (nonnull NSNumber *) | floorIndex |
Sets the floor index that the user/device is located. This value is used to provide an indicator on the floor selector, regardless of the floor actually displayed
| + (nullable UIColor *) tintColor |
Get the tint color for the floor buttons.
| - (void) updateFrame |
Update the floor selector view frame. Needed upon switch to landscape/portrait
|
readwritenonatomicstrong |
Array of the floor selector buttons.
|
readwritenonatomicstrong |
The size of a single floor button (buttonSize x buttonSize).
|
readwritenonatomicstrong |
The current floor.
|
readwritenonatomicassign |
|
readwritenonatomicassign |
The backgroundColor of floor selector buttons in normal state.
|
readwritenonatomicassign |
The padding around floor selector buttons. Defaults to 1.
|
readwritenonatomicassign |
The textColor of floor selector buttons in normal state.
|
readwritenonatomicstrong |
Floor index to start from (typically 0).
|
readwritenonatomicassign |
The maximum height that the floor selector may occupy
|
readwritenonatomicstrong |
The number of floors.
|
readwritenonatomicassign |
The backgroundColor of floor selector buttons in selected state.
|
readwritenonatomicassign |
The textColor of floor selector buttons in selected state.
|
readwritenonatomicstrong |
The top icon image.
|
readnonatomicweak |
UIImageView containing the top image.
|
readwritenonatomicassign |
The color of the indicator current user location floor.