MMKPanoramaTileUrlProvider

protocol MMKPanoramaTileUrlProvider : NSObjectProtocol

Undocumented

Summary

Instance methods

func formatUrl(withPanoramaId panoramaId: String,
                                       x: UInt,
                                       y: UInt,
                               tileLevel: UInt) -> String
Called once the tile within the view frustum

Instance methods

formatUrl(withPanoramaId:x:y:tileLevel:)

func formatUrl(withPanoramaId panoramaId: String,
                                       x: UInt,
                                       y: UInt,
                               tileLevel: UInt) -> String

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]