Last updated

API / geotoolkit / contour / datasource / ContourZMapDataLoader / ContourZMapDataLoader

Class: ContourZMapDataLoader

datasource.ContourZMapDataLoader.ContourZMapDataLoader

A utility class that creates a ContourZMapDataLoader from a passed in file.

Hierarchy

Table of contents

Constructors
Methods

Contents

Constructors

new ContourZMapDataLoader(options)

new ContourZMapDataLoader(options?)

Parameters

Name Type
Optional optionsObject
Optional options.httpserviceAbstractHttpService

Overrides

AbstractDataLoader.constructor

Methods

getClassName

getClassName(): string

Returns

string

Inherited from

AbstractDataLoader.getClassName


getDataSource

getDataSource(text, name): ContourDataSource

Creates data source

Parameters

Name Type Description
textstringdata in text format
namestringsource name

Returns

ContourDataSource

dataSource

Overrides

AbstractDataLoader.getDataSource


load

load(file): Promise<ContourDataSource>

Returns the AbstractDataLoader that is loaded from the passed in file.

Parameters

Name Type Description
filestring | Filethe local file to read

Returns

Promise<ContourDataSource>

dataSource The loaded data source.

Inherited from

AbstractDataLoader.load


loadFromFile

loadFromFile(file): Promise<ContourDataSource>

Loads data from file

Parameters

Name Type Description
fileFilethe local file to read

Returns

Promise<ContourDataSource>

dataSource The loaded data source.

Inherited from

AbstractDataLoader.loadFromFile


loadFromURL

loadFromURL(url): Promise<ContourDataSource>

Loads data from url

Parameters

Name Type Description
urlstringurl of the resource

Returns

Promise<ContourDataSource>

dataSource The loaded data source.

Inherited from

AbstractDataLoader.loadFromURL


getClassName

Static getClassName(): string

Returns

string

Inherited from

AbstractDataLoader.getClassName