MapsIndoors iOS SDK V3
Loading...
Searching...
No Matches
MPVenue.h
Go to the documentation of this file.
1//
2// MPVenue.h
3// MapsIndoors SDK for iOS
4//
5// Created by Daniel Nielsen on 1/13/14.
6// Copyright (c) 2014 MapsPeople A/S. All rights reserved.
7//
8#define kDefaultTilesURL "https://mtw-tiles.cloudapp.net/venues/{venueId}/{style}/{buildingId}/{floor}/{z}/{x}/{y}.png"
9
10#import "MPJSONModel.h"
11#import "MPMapStyle.h"
12#import "MPPoint.h"
13#import "MPBuilding.h"
14#import "MPLocationField.h"
18@protocol MPMapStyle
19@end
20
24@protocol MPVenueInfo
25@end
26
30@interface MPVenue : MPJSONModel
34@property (nonatomic, strong, nullable) NSString<Optional>* solutionId;
38@property (nonatomic, strong, nullable) NSString* venueId;
42@property (nonatomic, strong, nullable) NSNumber<Optional>* defaultFloor;
46@property (nonatomic, strong, nullable) NSString* tilesUrl;
51@property (nonatomic, strong, nullable) NSArray<MPBuilding*><MPBuilding, Optional>* buildings;
55@property (nonatomic, strong, nullable) MPPoint<Optional>* anchor;
59@property (nonatomic, strong, nullable) NSArray<Optional>* bbox;
63@property (nonatomic, strong, nullable) NSArray<NSArray*>* bounds;
67@property (nonatomic, strong, nullable) NSArray<MPPoint*><Optional, MPPoint>* entryPoints;
71@property (nonatomic, strong, nullable) NSString<Optional>* graphId;
75@property (nonatomic, strong, nullable) NSString<Optional>* venueKey;
79@property (nonatomic, strong, nullable) NSString<Optional>* externalId;
83@property (nonatomic, strong, nullable) NSString<Optional>* name;
87@property (nonatomic, strong, nullable) NSArray<MPMapStyle*><MPMapStyle>* styles;
91@property (nonatomic, strong, nullable, readonly) NSDictionary<NSString*, MPLocationField*><Optional, MPLocationField> *fields;
95- (nullable MPMapStyle*)getDefaultStyle;
99- (nullable GMSCoordinateBounds *)getBoundingBox;
104- (nullable GMSCoordinateBounds *)getVenueBounds DEPRECATED_MSG_ATTRIBUTE("Use getBoundingBox");
108@property (nonatomic, readonly) BOOL hasGraph;
109
110@end
Definition MPMapStyle.h:15
Definition MPPoint.h:23
Definition MPVenue.h:31
NSString< Optional > * venueKey
Definition MPVenue.h:75
nullable MPMapStyle * getDefaultStyle()
NSArray< NSArray * > * bounds
Definition MPVenue.h:63
MPPoint< Optional > * anchor
Definition MPVenue.h:55
NSString< Optional > * name
Definition MPVenue.h:83
NSString< Optional > * solutionId
Definition MPVenue.h:34
NSString< Optional > * externalId
Definition MPVenue.h:79
NSArray< MPMapStyle * >< MPMapStyle > * styles
Definition MPVenue.h:87
NSArray< Optional > * bbox
Definition MPVenue.h:59
NSString * tilesUrl
Definition MPVenue.h:46
nullable GMSCoordinateBounds * getBoundingBox()
NSString< Optional > * graphId
Definition MPVenue.h:71
NSNumber< Optional > * defaultFloor
Definition MPVenue.h:42
nullable GMSCoordinateBounds * getVenueBounds()
NSDictionary< NSString *, MPLocationField * >< Optional, MPLocationField > * fields
Definition MPVenue.h:91
NSArray< MPPoint * >< Optional, MPPoint > * entryPoints
Definition MPVenue.h:67
NSString * venueId
Definition MPVenue.h:38
BOOL hasGraph
Definition MPVenue.h:108
NSArray< MPBuilding * >< MPBuilding, Optional > * buildings
Definition MPVenue.h:51