#include <MPFloorTileLayer.h>
◆ initWithVenue:andFloor:
- (nullable id) initWithVenue: |
|
(nullable MPVenue *) | venue |
andFloor: |
|
(nullable MPFloor *) | floor |
Instantiate using a venue and a floor object.
◆ 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
Get the indoor floor tile-size for rendering.
◆ floor
◆ subdomains
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