Structures
The following structures are available globally.
-
Bytes sequence for the implementation of MD5 The following is an altered source version that only includes MD5. The original software can be found at: https://github.com/krzyzanowskim/CryptoSwift
See moreDeclaration
Swift
struct BytesSequence : Sequence -
For logging messages on console.
The log format is
<tag><Level> <message> [with error <error>]: Examples:
See more[MapCache][DEBUG] Welcome to MapCache [MapCache][ERROR] Could not download file with error Unknown addressDeclaration
Swift
public struct Log -
Settings of your MapCache.
See moreDeclaration
Swift
public struct MapCacheConfig -
For a particular zoom level, defines a range of tiles. It can be iterated in a for loop. It will get the
TileCoord`The following conditions shall always be true
minTileX <= maxTileX minTileY <= maxTileYSee moreTodo
- There are no validations for the conditions above.
- There are not validations for the min and max values.
Declaration
Swift
public struct TileRange : Sequence -
Iterator of a TileRange.
See moreDeclaration
Swift
public struct TileRangeIterator : IteratorProtocol -
A range of zooms. Matematically: [z1, z1+1, z1+2,…, z2-1, z2]
For instance: z1 = 2, z2 = 5 then [2, 3, 4, 5] would be the range.
Usage example:
let zR = ZoomRange(2,5).toArray() print(zR.count) // => 4It strictly stores z1 and z2, and the rest of the range is built upon request.
See moreDeclaration
Swift
public struct ZoomRange : Sequence -
Declaration
Swift
public struct ZoomRangeIterator : IteratorProtocol -
Specifies a single tile and area of the tile that should upscaled.
See moreDeclaration
Swift
public struct ZoomableTile
View on GitHub
Structures Reference