13#import <Foundation/Foundation.h>
14#import <UIKit/UIKit.h>
29@protocol GMSMapViewDelegate;
30@protocol MPFloorSelectorProtocol;
33#pragma mark - MPMapControlDelegate
39@protocol MPMapControlDelegate <NSObject>
44- (void) mapContentReady;
50- (void) floorDidChange:(nonnull NSNumber*)floor;
57- (void) focusedBuildingDidChange:(nullable
MPLocation*)building;
66- (BOOL) allowAutomaticSwitchToFloor:(nonnull NSNumber*)toFloor;
81- (BOOL) didTapAtCoordinate:(CLLocationCoordinate2D)coordinate withLocations:(nullable NSArray<
MPLocation*>*)locations;
93- (BOOL) didTapMarker:(GMSMarker*_Nonnull)marker forLocationCluster:(nullable NSArray<
MPLocation*>*)locations moreZoomPossible:(BOOL)moreZoomPossible;
103- (nullable UIView*) infoWindowForLocationCluster:(NSArray<
MPLocation*>* _Nonnull)locationCluster;
113- (CGSize) getImageSizeForLocationClusterWithCount:(NSUInteger)count clusterId:(NSString* _Nonnull)clusterId;
126- (nullable UIImage*) getImageForLocationCluster:(NSArray<
MPLocation*>* _Nonnull)locationCluster imageSize:(CGSize)imageSize clusterId:(NSString* _Nonnull)clusterId;
139- (BOOL) getImageForLocationCluster:(NSArray<
MPLocation*>* _Nonnull)locationCluster imageSize:(CGSize)imageSize clusterId:(NSString* _Nonnull)clusterId completion:(
void(^_Nonnull)(UIImage* _Nullable
image))completion;
155- (void) willUpdateLocationsOnMap:(nonnull NSArray<
MPLocation*>*)locations NS_SWIFT_NAME(willUpdateLocationsOnMap(locations:));;
163- (void) onError:(NSError* _Nonnull)error;
168#pragma mark - MPMapControl
179@property (nonatomic, weak, nullable) id<MPMapControlDelegate>
delegate;
233@property (nonatomic, nullable) NSString*
venue;
245- (nullable instancetype)initWithMap:(nonnull GMSMapView*) map;
251- (void) setupMapWithVenue:(nonnull NSString*)venueName;
256- (nullable
MPLocation*)getLocation:(nonnull GMSMarker*) marker;
261- (nullable
MPLocation*)getLocationById:(nonnull NSString*) idString;
267- (void)showSearchResult:(BOOL)fitBounds;
270#pragma mark - Display rule support
317- (void) setDisplayRuleNamed:(nonnull NSString*)ruleName forLocation:(nonnull
MPLocation*)location;
346- (void) resetDisplayRuleForLocation:(nonnull
MPLocation*)location;
354- (void) resetDisplayRulesForLocations:(nonnull NSArray<
MPLocation*>*)locations;
371#pragma mark - Configuration
395+ (void)setMapLabelFont:(UIFont * _Nullable)mapLabelFont showHalo: (BOOL) showHalo;
471- (void)showUserPosition:(BOOL)show;
489- (void) showAreaOfLocation:(nonnull
MPLocation*)location;
492#pragma mark - Accessibility support
508#pragma mark - Deprecations
FOUNDATION_EXPORT const unsigned char MapsIndoorsVStr[]
Project version string for MapsIndoors.
Definition MPMapControl.h:20
FOUNDATION_EXPORT double MapsIndoorsVNum
Project version number for MapsIndoors.
Definition MPMapControl.h:17
@ image
Definition NSString+CustomFont.h:45
Definition MPFloorSelectorControl.h:22
Definition MPLocationDisplayRule.h:22
Definition MPLocation.h:38
Definition MPMapControl.h:174
BOOL floorSelectorHidden
Definition MPMapControl.h:203
MPPositionIndicator * currentPosition
Definition MPMapControl.h:209
MPFloorSelectorControl * floorSelector
Definition MPMapControl.h:197
MPLocationDisplayRule *_Nullable defaultDisplayRule
Definition MPMapControl.h:368
int zIndexForPositioningAccuracyCircle
Definition MPMapControl.h:438
BOOL isMapLabelHaloEnabled()
MPLocationDisplayRule *_Nullable locationHighlightDisplayRule
Definition MPMapControl.h:361
UIFont * mapLabelFont
Definition MPMapControl.h:375
id< MPFloorSelectorProtocol > customFloorSelector
Definition MPMapControl.h:185
NSRange zIndexRangeFor2DModelOverlays
Definition MPMapControl.h:428
NSNumber * currentFloor
Definition MPMapControl.h:221
NSString * venue
Definition MPMapControl.h:233
NSString * userLocationAccessibilityLabel
Definition MPMapControl.h:498
MPMapStyle * mapStyle
Definition MPMapControl.h:225
BOOL hideIconsOverlappingRoute
Definition MPMapControl.h:413
NSRange zIndexRangeForMapsIndoorsOverlays
Definition MPMapControl.h:418
int zIndexForUserLocationMarker
Definition MPMapControl.h:433
NSRange zIndexRangeForPolygonOverlays
Definition MPMapControl.h:423
BOOL locationClusteringEnabled
Definition MPMapControl.h:402
BOOL mapLocationsHidden
Definition MPMapControl.h:229
NSRange zIndexRangeForMapsIndoorsTileLayers
Definition MPMapControl.h:454
id< MPMapControlDelegate > delegate
Definition MPMapControl.h:179
MPLocation * selectedLocation
Definition MPMapControl.h:213
CGSize mapIconSize
Definition MPMapControl.h:385
int zIndexForBuildingOutlineHighlight
Definition MPMapControl.h:443
BOOL locationHideOnIconOverlapEnabled
Definition MPMapControl.h:408
NSString * userLocationAccuracyAccessibilityLabel
Definition MPMapControl.h:504
UIColor * mapLabelColor
Definition MPMapControl.h:380
NSArray< MPLocation * > * searchResult
Definition MPMapControl.h:217
BOOL mapContentReady
Definition MPMapControl.h:239
int zIndexForLocationOutlineHighlight
Definition MPMapControl.h:448
Definition MPMapStyle.h:15
Definition MPOnlineTileLayer.h:15
Definition MPPositionIndicator.h:14
Definition MPPositionResult.h:18
Definition MPBuilding.h:23
Definition MPFloorSelectorProtocol.h:50
Definition MPPositionProvider.h:23
Definition MPVenueProvider.h:71