CartoType iOS API 9.0-11-g64131709d
for development in Swift and Objective C for iOS and Mac OS
|
#include <CartoTypeBase.h>
Instance Methods | |
(void) | - addTileSet:tileRange:fileZoom:minDisplayZoom:maxDisplayZoom: |
(const void *) | - tileParam |
Parameters specifying map files (CTM1 files) representing tiles to be loaded and unloaded automatically.
- (void) addTileSet: | (NSString *) | aFileNameTemplate | |
tileRange: | (CtRect) | aTileRange | |
fileZoom: | (int) | aFileZoom | |
minDisplayZoom: | (int) | aMinDisplayZoom | |
maxDisplayZoom: | (int) | aMaxDisplayZoom |
Adds a tile set to the tile parameters
aFileNameTemplate | A 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. |
aTileRange | The inclusive range of tiles that is available. |
aFileZoom | The zoom level of these tiles. |
aMinDisplayZoom | The minimum zoom level at which these tiles are to be drawn. |
aMaxDisplayZoom | The maximum zoom level at which these tiles are to be drawn. |
- (const void *) tileParam |
Returns a pointer to the C++ TileParam object: for internal use only.