Class: TrafficCameraMetadataCache

alk.source.TrafficCameraMetadataCache

This class wraps the Traffic Camera Metadata Service and caches the meta data.

new alk.source.TrafficCameraMetadataCache(opt_options)

This constructor creates a wrapper around the Traffic Camera Metadata Source to cache the metadata.

Option Type Description
trafficCameraMetadataService alk.service.TrafficCameraMetadataService | undefined

This option contains the Traffic Camera Metadata service.

Methods

get(id, complete)

Name Type Description
id string
complete function

retrieve(id){alkx.TrafficCameraMetadata|undefined}

Name Type Description
id string

store(metadata)

Name Type Description
metadata alkx.TrafficCameraMetadata

The metadata