Class: ServiceLayer

vef.map.layer.ServiceLayer(config, cache, id)

Abstract Service Layer Implementation

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
Author:
Source:

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>
Source:

getMessages() → {Array.<object>}

Get all active messages
Source:
Returns:
messages
Type
Array.<object>

getRequestName()

Get Layer name for making requests in case names differ for each projection
Source: