new KmlRemoteFile(options)
Creates representation of KmlRemoteFile. In order to load an object it is necessary to run get function on created object.
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
Properties
|
- Source:
Methods
ajax(url, options) → {Promise}
Retrieves the data from remote server.
Parameters:
Name | Type | Description | ||||||
---|---|---|---|---|---|---|---|---|
url |
String | Url to query for data | ||||||
options |
Object |
Properties
|
- Source:
Returns:
Promise of the data.
- Type
- Promise
get() → {Promise}
It retrieves the current file. Usually it is used only once, but it can be used multiple times.
- Source:
Returns:
- Type
- Promise