new alk.interaction.TrafficCameraPopupInteraction(opt_options)
This constructor creates an Interaction object that allows its user to interact with traffic cameras that exist in the layer.
Option | Type | Description |
---|---|---|
trafficCameraMetadataCache |
alk.source.TrafficCameraMetadataCache |
This option contains the traffic camera meta data cache to use. If this option is undefined, one will be created with the trafficCameraMetadataService option. |
trafficCameraMetadataService |
alk.service.TrafficCameraMetadataService |
This option contains the traffic camera meta data service to use if no traffic camera meta data cache is supplied. If this option is undefined, a traffic camera meta data cache will be created with the default TrafficCameraMetadataService without options. |
Extends
- ol.interaction.Interaction
Methods
-
removeOverlays(map)
-
This method removes any of the overlays that were placed on the map.
Name Type Description map
ol.PluggableMap