MapsIndoors iOS SDK V3
Loading...
Searching...
No Matches
Instance Methods | Class Methods | Properties | List of all members
MPFloorTileLayer Class Reference

#include <MPFloorTileLayer.h>

Inheritance diagram for MPFloorTileLayer:
MPOnlineTileLayer

Instance Methods

(nullable id) - initWithVenue:andFloor:
 
(void) - setUrlTemplate:
 
(void) - parseUrl
 
- Instance Methods inherited from MPOnlineTileLayer
(nullable instancetype) - initWithLayer:
 
(nullable NSString *) - getTileUrl:x:y:
 
(void) - addToMap:
 

Class Methods

(NSInteger) + tileSize
 
(void) + setTileSize:
 

Properties

NSString * urlTemplate
 
MPFloorfloor
 
NSNumber * venueId
 
NSArray * subdomains
 
- Properties inherited from MPOnlineTileLayer
GMSTileLayer * layer
 
NSString * layerType
 

Additional Inherited Members

- Protected Attributes inherited from MPOnlineTileLayer
int _balancingIndex
 

Method Documentation

◆ initWithVenue:andFloor:

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

Instantiate using a venue and a floor object.

◆ parseUrl

- (void) parseUrl

Parse the url template. Normally, this is done automatically

◆ setTileSize:

+ (void) setTileSize: (NSInteger) value

Set the indoor floor tile-size for rendering.

◆ setUrlTemplate:

- (void) setUrlTemplate: (nonnull NSString *) urlTemplate

Set the url template to base the tilelayer on

◆ tileSize

+ (NSInteger) tileSize

Get the indoor floor tile-size for rendering.

Property Documentation

◆ floor

- (MPFloor*) floor
readwritenonatomicstrong

Floor property

◆ subdomains

- (NSArray*) subdomains
readwritenonatomicstrong

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.

◆ urlTemplate

- (NSString*) urlTemplate
readwritenonatomicstrong

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.

◆ venueId

- (NSNumber*) venueId
readwritenonatomicstrong

Venue id