loadStyle

fun loadStyle(styleName: String, chtFile: File, baseDir: File): Error?

Loads the MapStyle and assigns it a name.

Return

The error code.

Parameters

styleName

The style name to assign

chtFile

A valid (BeNomad's) binary graphic chart file (with '.cht' extension)

baseDir

a valid directory that contains all the graphic resources (i.e PNG icons) used the graphic chart.