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

#include <MPOnlineTileLayer.h>

Inheritance diagram for MPOnlineTileLayer:
MPFloorTileLayer

Instance Methods

(nullable instancetype) - initWithLayer:
 
(nullable NSString *) - getTileUrl:x:y:
 
(void) - addToMap:
 

Protected Attributes

int _balancingIndex
 

Properties

GMSTileLayer * layer
 
NSString * layerType
 

Detailed Description

Online tile layer. Used to serve a google map with a MapsPeople online tileservice.

Method Documentation

◆ addToMap:

- (void) addToMap: (nullable GMSMapView *) map

Add the layer to a map.

Parameters
mapThe Google map view.

◆ getTileUrl:x:y:

- (nullable NSString *) getTileUrl: (NSUInteger) zoom
x: (NSUInteger) x
y: (NSUInteger) y 

Helper method to generate the correct url, based on level and layer type.

◆ initWithLayer:

- (nullable instancetype) initWithLayer: (nonnull NSString *) layerType

Instantiate using a layer type.

Member Data Documentation

◆ _balancingIndex

- (int) _balancingIndex
protected

Property Documentation

◆ layer

- (GMSTileLayer*) layer
readwritenonatomicstrong

The google GMSTileLayer object.

◆ layerType

- (NSString*) layerType
readwritenonatomicstrong

Layer type / identifier.