Last updated

API / geotoolkit / map / sources / connectors / DOMImage / DOMImage

Class: DOMImage

connectors.DOMImage.DOMImage

Source connector that sends requests by creating DOM image with appropriate url

Hierarchy

Table of contents

Constructors
Methods

Contents

Constructors

new DOMImage()

new DOMImage()

Overrides

AbstractConnector<DOMImage.Connection>.constructor

Methods

abort

abort(key?): DOMImage

Aborts the previous queries sent

Parameters

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

Returns

DOMImage

this

Inherited from

AbstractConnector.abort


abortConnection

Protected abortConnection(connection): DOMImage

Aborts the connection provided

Parameters

Name Type Description
connectionConnectionconnection to abort

Returns

DOMImage

this

Overrides

AbstractConnector.abortConnection


addConnection

Protected addConnection(key, connection): DOMImage

Adds connection to the list

Parameters

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

Returns

DOMImage

this

Inherited from

AbstractConnector.addConnection


clone

clone(): AbstractConnector<Connection>

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

Returns

AbstractConnector<Connection>

clone

Inherited from

AbstractConnector.clone


getClassName

getClassName(): string

Returns

string

Inherited from

AbstractConnector.getClassName


getConnection

Protected getConnection(key): Connection

Returns connection by the key

Parameters

Name Type Description
keystringkey for the connection

Returns

Connection

connection

Inherited from

AbstractConnector.getConnection


isLoading

isLoading(): boolean

Checks if some connections are still loading

Returns

boolean

Inherited from

AbstractConnector.isLoading


removeConnection

Protected removeConnection(key, connection): DOMImage

Removes connection from the list

Parameters

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

Returns

DOMImage

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
optionsOptionsextra options for the request (null if no needed)
callbackSendCallbackthe result handler that's called when response is received

Returns

void

Overrides

AbstractConnector.send


getClassName

Static getClassName(): string

Returns

string

Inherited from

AbstractConnector.getClassName