MapsIndoors iOS SDK V3
|
#include <MPOnlineTileLayer.h>
Instance Methods | |
(nullable instancetype) | - initWithLayer: |
(nullable NSString *) | - getTileUrl:x:y: |
(void) | - addToMap: |
Protected Attributes | |
int | _balancingIndex |
Properties | |
GMSTileLayer * | layer |
NSString * | layerType |
Online tile layer. Used to serve a google map with a MapsPeople online tileservice.
- (void) addToMap: | (nullable GMSMapView *) | map |
Add the layer to a map.
map | The Google map view. |
- (nullable NSString *) getTileUrl: | (NSUInteger) | zoom | |
x: | (NSUInteger) | x | |
y: | (NSUInteger) | y |
Helper method to generate the correct url, based on level and layer type.
- (nullable instancetype) initWithLayer: | (nonnull NSString *) | layerType |
Instantiate using a layer type.
|
protected |
|
readwritenonatomicstrong |
The google GMSTileLayer object.
|
readwritenonatomicstrong |
Layer type / identifier.