Global

Type Definitions

DeviceViewConfigObject

The configuration object for the creation and update of an asset
Properties:
Name Type Argument Default Description
width number <optional>
20 The width of the icon
height number <optional>
20 The height of the icon
url string <optional>
The URL of the image to be used as the asset's icon
scaleWithMap boolean <optional>
true Whether the asset's icon should scale with the map
iconColor string <optional>
If no url is provided for the icon, the colour of the default icon
confidenceMax number <optional>
The maximum radius of the confidence circle (in pixels)
confidencePercent number <optional>
The confidence in the position of the item (between 0 and 1). 0 will hide the confidence circle; 1 will display the full circle
confidenceColor string <optional>
The color of the confidence circle in hexadecimal format
confidenceAlpha number <optional>
The transparency of the confidence circle (between 0 and 1)
pulseColor string <optional>
The color of the pulse circle
pulseStartAlpha number <optional>
The starting opacity of the pulse circle (between 0 and 1)
pulseEndAlpha number <optional>
The ending opacity of the pulse circle (between 0 and 1)
pulseDuration number <optional>
The length of time of the pulse animation (in seconds)
pulseDelay number <optional>
The delay between pulse animation (in seconds)
pulseVisible boolean <optional>
Whether the pulse should be visible