CartoType iOS API 8.10-3-g0075538f6
for development in Swift and Objective C for iOS and Mac OS
Instance Methods | Properties | List of all members
CartoTypeFrameworkParam Class Reference

#import <CartoTypeFrameworkParam.h>

Inheritance diagram for CartoTypeFrameworkParam:

Instance Methods

(id) - init
 

Properties

NSString * mapFileName
 
NSString * styleSheetFileName
 
NSString * styleSheetText
 
NSString * fontFileName
 
int viewWidth
 
int viewHeight
 
NSString * key
 
int fileBufferSizeInBytes
 
int maxFileBufferCount
 
int textIndexLevels
 

Detailed Description

Parameters for creating a CartoTypeFramework object when detailed control is needed. For example, file buffer size and the maximum number of buffers can be set.

Method Documentation

◆ init

- (id) init

Creates a CartoTypeFrameworkParam object.

Property Documentation

◆ fileBufferSizeInBytes

- (int) fileBufferSizeInBytes
readwritenonatomicassign

The file buffer size in bytes. If it is zero or less the default value is used.

◆ fontFileName

- (NSString*) fontFileName
readwritenonatomicstrong

The font file. Must not be null or empty.

◆ key

- (NSString*) key
readwritenonatomicstrong

If non-null, an API key or encryption key to be used when loading the map.

◆ mapFileName

- (NSString*) mapFileName
readwritenonatomicstrong

The map. Must not be null or empty.

◆ maxFileBufferCount

- (int) maxFileBufferCount
readwritenonatomicassign

The maximum number of file buffers. If it is zero or less the default value is used.

◆ styleSheetFileName

- (NSString*) styleSheetFileName
readwritenonatomicstrong

The style sheet. If it is null or empty, styleSheetText is used.

◆ styleSheetText

- (NSString*) styleSheetText
readwritenonatomicstrong

The style sheet text. Used if styleSheetFileName is null or empty.

◆ textIndexLevels

- (int) textIndexLevels
readwritenonatomicassign

The number of levels of the text index to load into RAM. Use values from 1 to 5 to save RAM but make text searches slower. The value 0 causes the default number of levels (6) to be loaded. The value -1 disables text index loading.

◆ viewHeight

- (int) viewHeight
readwritenonatomicassign

The height of the map in pixels. Must be greater than zero.

◆ viewWidth

- (int) viewWidth
readwritenonatomicassign

The width of the map in pixels. Must be greater than zero.


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