Constructor
new ServiceLayer(config, cache, id)
Set all properties for the layer based on the options object.
Parameters:
Name | Type | Description |
---|---|---|
config |
object | |
cache |
object | |
id |
string |
Methods
getClosestTimestamp_(value, timestamps, isoTimestamps)
Iterates through the array of timestamps and returns the
one closest to the given value
Parameters:
Name | Type | Description |
---|---|---|
value |
string | |
timestamps |
Array.<number> | |
isoTimestamps |
Array.<string> |
getMessages() → {Array.<object>}
Get all active messages
Returns:
messages
- Type
- Array.<object>
getRequestName()
Get Layer name for making requests in case names differ for each projection