VMDFileCollection

constructor()

Create a new file collection


constructor(mapXmlFile: VMDFile?, mapGeojsonFiles: Array<VMDFile?>)

Constructor.

Parameters

mapXmlFile

VMDFile that contains the xml map data.

mapGeojsonFiles

VMDFile that contains additional geojson map data.


constructor(mapXmlFile: VMDFile?, mapGeojsonFiles: Array<VMDFile?>, customMapInfoJsonFile: VMDFile?)

Constructor.

Parameters

mapXmlFile

VMDFile that contains the xml map data.

mapGeojsonFiles

VMDFile that contains additional geojson map data.

customMapInfoJsonFile

VMDFile that contains additional json data that can overwrite values from previous files.


constructor(baseDirectory: String)

Constructor that assumes default file names are used, and that they are stored locally.

Parameters

baseDirectory

Absolute directory where the files are located locally.


constructor(baseUrl: URL)

Constructor that assumes default file names are used, and that they are stored remotely. Should be absolute url.

Parameters

baseUrl

Absolute directory path where the files are stored remotely.