跳到主要内容

flywave-vectortile-datasource.omvrestclient

Home > @flywave/flywave-vectortile-datasource > OmvRestClient

OmvRestClient class

REST client supporting getting protobuf OMV Tile from REST-based servers.

Signature:

export declare class OmvRestClient extends DataProvider 

Extends: DataProvider

Constructors

Constructor

Modifiers

Description

(constructor)(params)

Constructs a new instance of the OmvRestClient class

Properties

Property

Modifiers

Type

Description

params

readonly

OmvRestClientParameters

Methods

Method

Modifiers

Description

connect()

Overriding abstract method, in this case doing nothing.

dispose()

Destroys this OmvRestClient.

getTile(tileKey, abortSignal)

Asynchronously fetches a tile from this restful server.

ready()

Overriding abstract method, in this case always returning true.