Class: Ruflet::UI::Controls::RufletComponents::PolygonLayerControl
- Inherits:
-
MapExtensionControl
- Object
- Control
- MapExtensionControl
- Ruflet::UI::Controls::RufletComponents::PolygonLayerControl
- Defined in:
- lib/ruflet_ui/ruflet/ui/controls/materials/map_control.rb
Constant Summary collapse
- WIRE =
"PolygonLayer".freeze
Constants inherited from MapExtensionControl
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
-
#initialize(id: nil, **props) ⇒ PolygonLayerControl
constructor
A new instance of PolygonLayerControl.
Methods inherited from Control
#attach_handler, #emit, generate_id, #has_handler?, #merge_props, #on, #to_patch
Constructor Details
#initialize(id: nil, **props) ⇒ PolygonLayerControl
Returns a new instance of PolygonLayerControl.
154 |
# File 'lib/ruflet_ui/ruflet/ui/controls/materials/map_control.rb', line 154 def initialize(id: nil, **props) = super(type: "polygon_layer", id: id, **props) |