Class: Ruflet::UI::Controls::RufletComponents::PolygonMarkerControl

Inherits:
MapExtensionControl show all
Defined in:
lib/ruflet_ui/ruflet/ui/controls/materials/map_control.rb

Constant Summary collapse

WIRE =
"PolygonMarker".freeze

Constants inherited from MapExtensionControl

MapExtensionControl::KEYWORDS

Constants inherited from Control

Control::HOST_EXPANDED_TYPES, Control::SCHEMA_METADATA_CACHE

Instance Attribute Summary

Attributes inherited from Control

#children, #id, #props, #runtime_page, #type, #wire_id

Instance Method Summary collapse

Methods inherited from Control

#attach_handler, #emit, generate_id, #has_handler?, #merge_props, #on, #to_patch

Constructor Details

#initialize(id: nil, **props) ⇒ PolygonMarkerControl

Returns a new instance of PolygonMarkerControl.



149
# File 'lib/ruflet_ui/ruflet/ui/controls/materials/map_control.rb', line 149

def initialize(id: nil, **props) = super(type: "polygon_marker", id: id, **props)