Skip to content
Last updated

API / geotoolkit / map / sources / connectors / GeoTIFFInit / GeoTIFFInit

Class: GeoTIFFInit

connectors.GeoTIFFInit.GeoTIFFInit

GeoTIFFInit connector uses geotiff library to send initial requests to server with GeoTIFF metadata

Hierarchy

Table of contents

Constructors
  • [new GeoTIFFInit()](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit.map.sources.connectors.geotiffinit.geotiffinit.md#new geotiffinit())
Methods

Contents

Constructors

new GeoTIFFInit()

• new GeoTIFFInit()

Overrides

AbstractConnector<AbortController>.constructor

Methods

abort

▸ abort(key?): GeoTIFFInit

Aborts the previous queries sent

Parameters

Name Type Description
Optional keystringkey of the queries to abort (all queries aborted if nothing provided)

Returns

GeoTIFFInit

this

Inherited from

AbstractConnector.abort


abortConnection

▸ Protected abortConnection(connection): GeoTIFFInit

Aborts the connection provided

Parameters

Name Type Description
connectionAbortControllerconnection to abort

Returns

GeoTIFFInit

this

Inherited from

AbstractConnector.abortConnection


addConnection

▸ Protected addConnection(key, connection): GeoTIFFInit

Adds connection to the list

Parameters

Name Type Description
keystringkey of the connection (null if no provided)
connectionAbortControllerconnection to add to the list

Returns

GeoTIFFInit

this

Inherited from

AbstractConnector.addConnection


clone

▸ clone(): AbstractConnector<AbortController&gt;

All subclasses should override copyConstructor or provide custom implementation for this method

Returns

AbstractConnector<AbortController&gt;

clone

Inherited from

AbstractConnector.clone


getClassName

▸ getClassName(): string

Returns

string

Inherited from

AbstractConnector.getClassName


getConnection

▸ Protected getConnection(key): AbortController

Returns connection by the key

Parameters

Name Type Description
keystringkey for the connection

Returns

AbortController

connection

Inherited from

AbstractConnector.getConnection


isLoading

▸ isLoading(): boolean

Checks if some connections are still loading

Returns

boolean

Inherited from

AbstractConnector.isLoading


isValidUrl

▸ isValidUrl(url): boolean

Check if URL is configured to load layer data

Parameters

Name Type
urlstring | string[]

Returns

boolean

Inherited from

AbstractConnector.isValidUrl


removeConnection

▸ Protected removeConnection(key, connection): GeoTIFFInit

Removes connection from the list

Parameters

Name Type Description
keystringkey of the connection (null if no provided)
connectionAbortControllerconnection to remvoe from the list

Returns

GeoTIFFInit

this

Inherited from

AbstractConnector.removeConnection


send

▸ send(url, options, callback): void

Sends a request using the query provided

Parameters

Name Type Description
urlstringthe url requested
optionsSendOptionsextra options for the request (null if no needed)
callbackCallbackthe result handler that's called when response is received

Returns

void

Overrides

AbstractConnector.send


getClassName

▸ Static getClassName(): string

Returns

string

Inherited from

AbstractConnector.getClassName