API / geotoolkit / map / sources / connectors / GeoTIFFInit / GeoTIFFInit
connectors.GeoTIFFInit.GeoTIFFInit
GeoTIFFInit connector uses geotiff library to send initial requests to server with GeoTIFF metadata
AbstractConnector<AbortController>↳
GeoTIFFInit
Constructors
- [new GeoTIFFInit()](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit.map.sources.connectors.geotiffinit.geotiffinit.md#new geotiffinit())
Methods
Constructors
• new GeoTIFFInit()
AbstractConnector<AbortController&gt;.constructor
Methods
▸ abort(key?): GeoTIFFInit
Aborts the previous queries sent
| Name | Type | Description |
|---|---|---|
Optional key | string | key of the queries to abort (all queries aborted if nothing provided) |
this
▸ Protected abortConnection(connection): GeoTIFFInit
Aborts the connection provided
| Name | Type | Description |
|---|---|---|
connection | AbortController | connection to abort |
this
AbstractConnector.abortConnection
▸ Protected addConnection(key, connection): GeoTIFFInit
Adds connection to the list
| Name | Type | Description |
|---|---|---|
key | string | key of the connection (null if no provided) |
connection | AbortController | connection to add to the list |
this
AbstractConnector.addConnection
▸ clone(): AbstractConnector<AbortController>
All subclasses should override copyConstructor or provide custom implementation for this method
AbstractConnector<AbortController>
clone
▸ getClassName(): string
string
AbstractConnector.getClassName
▸ Protected getConnection(key): AbortController
Returns connection by the key
| Name | Type | Description |
|---|---|---|
key | string | key for the connection |
AbortController
connection
AbstractConnector.getConnection
▸ isLoading(): boolean
Checks if some connections are still loading
boolean
▸ isValidUrl(url): boolean
Check if URL is configured to load layer data
| Name | Type |
|---|---|
url | string | string[] |
boolean
▸ Protected removeConnection(key, connection): GeoTIFFInit
Removes connection from the list
| Name | Type | Description |
|---|---|---|
key | string | key of the connection (null if no provided) |
connection | AbortController | connection to remvoe from the list |
this
AbstractConnector.removeConnection
▸ send(url, options, callback): void
Sends a request using the query provided
| Name | Type | Description |
|---|---|---|
url | string | the url requested |
options | SendOptions | extra options for the request (null if no needed) |
callback | Callback | the result handler that's called when response is received |
void
▸ Static getClassName(): string
string