API / geotoolkit / ivaapbackend / surface / RemoteGridSurfaceDataSource / RemoteGridSurfaceDataSource
surface.RemoteGridSurfaceDataSource.RemoteGridSurfaceDataSource
Provides utility class to load surface data from IVAAP backend
↳
RemoteGridSurfaceDataSource
Constructors
Methods
Css Properties
| Name | Type | Description |
|---|---|---|
hostname | string | The host name for requests |
Constructors
• new RemoteGridSurfaceDataSource(options?)
| Name | Type |
|---|---|
Optional options | Options |
RemoteDataSource<RemoteGridSurfaceDataSource.MetaInfo>.constructor
Methods
▸ dispose(): void
Dispose
void
▸ getClassName(): string
string
▸ Protected getHostName(): string
Gets host name
string
▸ Protected getHttpService(): AbstractHttpService
Gets a http service associated with this data source
RemoteDataSource.getHttpService
▸ getId(): string
Gets data identifier
string
▸ getLinks(): Link[]
Gets links
Link[]
▸ getMetaData(): MetaInfo
Returns meta information from IVAAP backend
meta meta data
▸ getProperties(): OptionsOut
Gets all the properties pertaining to this object
An object containing the properties
RemoteDataSource.getProperties
▸ loadMeta(url): Promise<MetaInfo>
Load meta data
| Name | Type | Description |
|---|---|---|
url | string | url of metaData information |
Promise<MetaInfo>
The promise for the MetaData
▸ loadSurface(): Promise<SurfaceStream>
Loads surface
Promise<SurfaceStream>
▸ Protected setHostName(host): RemoteGridSurfaceDataSource
Sets host name
| Name | Type | Description |
|---|---|---|
host | string | the host name |
▸ Protected setHttpService(service): RemoteGridSurfaceDataSource
Sets a http service associated with this data source
| Name | Type | Description |
|---|---|---|
service | AbstractHttpService | the http service |
RemoteDataSource.setHttpService
▸ Protected setId(id): RemoteGridSurfaceDataSource
Sets data identifier
| Name | Type | Description |
|---|---|---|
id | string | the identifier |
▸ Protected setLinks(links): RemoteGridSurfaceDataSource
Sets links
| Name | Type | Description |
|---|---|---|
links | Link[] | the links |
▸ Protected setMetaData(meta): RemoteGridSurfaceDataSource
Sets meta information
| Name | Type | Description |
|---|---|---|
meta | MetaInfo | the meta information |
▸ setProperties(properties?): RemoteGridSurfaceDataSource
Sets all the properties pertaining to this object
| Name | Type | Description |
|---|---|---|
Optional properties | Options | An object containing the properties to set |
this
RemoteDataSource.setProperties
▸ Static getClassName(): string
string