MPFloorTileLayer

Undocumented

  • Get the indoor floor tile-size for rendering.

    Declaration

    Objective-C

    + (NSInteger)tileSize;

    Swift

    class func tileSize() -> Int
  • Set the indoor floor tile-size for rendering.

    Declaration

    Objective-C

    + (void)setTileSize:(NSInteger)value;

    Swift

    class func setTileSize(_ value: Int)
  • Instantiate using a venue and a floor object.

    Declaration

    Objective-C

    - (id)initWithVenue:(MPVenue *)venue andFloor:(MPFloor *)floor;

    Swift

    init!(venue: MPVenue!, andFloor floor: MPFloor!)
  • The url template string to use when fetching tiles. Must have format prefix{param_1}infix{param_N}suffix, e.g.: http://tiles.url.com/{floor}/{x}/{y}/{zoom}.png By default the implementation of this tilelayer will look for {venueId}/{style}/{buildingId}/{floor}/{z}/{x}/{y}, where x, y and z is mandatory.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) NSString *urlTemplate;

    Swift

    var urlTemplate: String! { get set }
  • Floor property

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) MPFloor *floor;

    Swift

    var floor: MPFloor! { get set }
  • Venue id

    Declaration

    Objective-C

    @property (assign, readwrite, atomic) NSNumber *venueId;

    Swift

    var venueId: NSNumber! { get set }
  • Array of strings identifying subdomains. If this property is set, and the url template contains the parameter {subdomain}, the tilelayer will do round-robin over the subdomains specified.

    Declaration

    Objective-C

    @property (assign, readwrite, atomic) NSArray *subdomains;

    Swift

    var subdomains: [Any]! { get set }
  • Parse the url template. Normally, this is done automatically

    Declaration

    Objective-C

    - (void)parseUrl;

    Swift

    func parseUrl()