MMKPanoramaTileUrlProvider

@protocol MMKPanoramaTileUrlProvider <NSObject>

Undocumented

Summary

Instance methods

- (nonnull NSString *)formatUrlWithPanoramaId:(nonnull NSString *)panoramaId
                                            x:(NSUInteger)x
                                            y:(NSUInteger)y
                                    tileLevel:(NSUInteger)tileLevel;

Called once the tile within the view frustum

Instance methods

formatUrlWithPanoramaId:x:y:tileLevel:

- (nonnull NSString *)formatUrlWithPanoramaId:(nonnull NSString *)panoramaId
                                            x:(NSUInteger)x
                                            y:(NSUInteger)y
                                    tileLevel:(NSUInteger)tileLevel;

Called once the tile within the view frustum.

This method may be called on any thread. Its implementation must be thread-safe.

Parameters

panoramaId

The id of the panorama to get tile for.

x

Tile x coordinate in range [0..tileLevels[tileLevel].width/tileSize.width] x=0,y=0 is the left top corner

y

Tile y coordinate in range [0..ceil(tileLevels[tileLevel].height/tileSize.height)]

tileLevel

Tile level coordinate. One of the given tilelevels level]