setRootPath

Configure the path on disk where tiles and metadata will be stored. This path will be used by create() method as a default location. Method should be invoked before TileStore instance creation. In case TileStore already created with another path the call will fail. If root path was set before to another value, the data from the previous location is not copied. Setting is not persistent.

Return

Void on success, otherwise a string describing an error.

Parameters

path

The path on disk where tiles and metadata will be stored