CartoType iOS API 9.0-11-g64131709d
for development in Swift and Objective C for iOS and Mac OS
Loading...
Searching...
No Matches
CtTileParam Class Reference

#include <CartoTypeBase.h>

Inheritance diagram for CtTileParam:

Instance Methods

(void) - addTileSet:tileRange:fileZoom:minDisplayZoom:maxDisplayZoom:
 
(const void *) - tileParam
 

Detailed Description

Parameters specifying map files (CTM1 files) representing tiles to be loaded and unloaded automatically.

Method Documentation

◆ addTileSet:tileRange:fileZoom:minDisplayZoom:maxDisplayZoom:

- (void) addTileSet: (NSString *) aFileNameTemplate
tileRange: (CtRect) aTileRange
fileZoom: (int) aFileZoom
minDisplayZoom: (int) aMinDisplayZoom
maxDisplayZoom: (int) aMaxDisplayZoom 

Adds a tile set to the tile parameters

Parameters
aFileNameTemplateA C++ std::format template used to create each filename, using integer arguments zoom, x, y in that order. For example, "/maps/tile-zoom{}-x{}-y{}.ctm1". The arguments may be reordered using argument indexes: see the C++ std::format documentation for details.
aTileRangeThe inclusive range of tiles that is available.
aFileZoomThe zoom level of these tiles.
aMinDisplayZoomThe minimum zoom level at which these tiles are to be drawn.
aMaxDisplayZoomThe maximum zoom level at which these tiles are to be drawn.

◆ tileParam

- (const void *) tileParam

Returns a pointer to the C++ TileParam object: for internal use only.


The documentation for this class was generated from the following file: