TileRangeIterator
public struct TileRangeIterator : IteratorProtocolIterator of a TileRange.
- 
                  
                  Range for the counter DeclarationSwift let range: TileRange
- 
                  
                  Current counter value DeclarationSwift var counter: UInt64
- 
                  
                  Max value counter can take. DeclarationSwift let maxCounter: UInt64
- 
                  
                  Number of columns DeclarationSwift let columns: TileNumber
- 
                  
                  Number of rows DeclarationSwift let rows: TileNumber
- 
                  
                  Initializer of the iterator. Sets range,counter,maxCounteranddiffXDeclarationSwift init(_ range: TileRange)
- 
                  
                  The function that is required by the Iterator protocol. Todo because there are no validations of the range in TileRange, this function may fail. Pending to fix it. See also DeclarationSwift public mutating func next() -> TileCoords?Return Valuethe TileCoordfor the current iteration.
 View on GitHub
View on GitHub TileRangeIterator Structure Reference
        TileRangeIterator Structure Reference