Action

Defines a data-driven operation that can modify existing objects or create new ones (spots or polygons) using variables or custom values. Actions typically run when the widget loads.

Schema

Name Type Description Default
id string A unique identifier for the action.
type
"modify-object""modify-objects""create-spot""create-poly""create-spots""create-polys""modify-popup"
The type of action to perform. modify-object
name string A human-readable name for the action. Untitled Action
conditions Condition [] A list of conditions that must be met for the action to execute.
condition_operator
"and""or"
Logical operator for combining multiple conditions. and
object_id string Target object ID to modify (for "modify-object" type).
popup_id string Target popup ID to modify (for "modify-popup" type).
object_ids string [] Target object IDs to modify (for "modify-objects" type).
create_object_target_artboard_id string Target artboard where new objects should be created.
create_object_name string Default name for created objects.
create_spot_x_source_type
"variable""custom"
Source type for X coordinate of a new Spot. custom
create_spot_x_custom_value string Custom X coordinate if source type is "custom".
create_spot_x_variable_id string Variable ID if source type is "variable".
create_spot_y_source_type
"variable""custom"
Source type for Y coordinate of a new Spot. custom
create_spot_y_custom_value string Custom Y coordinate if source type is "custom".
create_spot_y_variable_id string Variable ID if source type is "variable".
create_poly_coords_variable_id string Variable ID that provides coordinates for a new Polygon.
style_color ObjectStyle Color of the object. Can be current value, custom, or variable-driven.
style_opacity ObjectStyle Opacity of the object.
style_stroke_color ObjectStyle Stroke color of the object.
style_stroke_width ObjectStyle Stroke width of the object.
style_stroke_opacity ObjectStyle Stroke opacity of the object.
style_hover_color ObjectStyle Hover color of the object.
style_hover_opacity ObjectStyle Hover opacity of the object.
style_hover_stroke_color ObjectStyle Hover stroke color of the object.
style_hover_stroke_width ObjectStyle Hover stroke width of the object.
style_hover_stroke_opacity ObjectStyle Hover stroke opacity of the object.
style_blend_mode ObjectStyle Blend mode applied to the object.
style_radius ObjectStyle Radius of the object (applies to spot type).
style_pin ObjectStyle Pin setting for the object (true = pin, false = spot).
style_interactive ObjectStyle Interactive setting for the object (true = interactive, false = static).
create_popup boolean Whether to create an associated popup when creating new objects. false
popup_max_width number Maximum width of the popup in pixels. 500
popup_title string Title text displayed at the top of the popup. ""
popup_image string URL of the image displayed in the popup. ""
popup_content string Content text displayed in the popup. ""
popup_button_text string Text displayed on the popup button. ""
popup_button_action string Action performed when the popup button is clicked. ""
popup_button_link string URL that the popup button links to. ""
popup_open_link_in_new_tab boolean Whether to open the popup button link in a new browser tab. false

MarkerKit VCC

UIC 208561215

Registered in Sofia, Bulgaria.

The interactive layer for maps,
floor plans, and diagrams.
© 2025 MarkerKit