Skip to content

feat: add 2d geometry components - circle, polyline and polygon#917

Merged
usefulthink merged 12 commits intovisgl:mainfrom
mrMetalWood:feat/2d-geometry-components
Mar 20, 2026
Merged

feat: add 2d geometry components - circle, polyline and polygon#917
usefulthink merged 12 commits intovisgl:mainfrom
mrMetalWood:feat/2d-geometry-components

Conversation

@mrMetalWood
Copy link
Copy Markdown
Collaborator

Add first class support for 2D geometry components.

  • Circle
  • Polyline
  • Polygon

@mrMetalWood mrMetalWood changed the title Feat/2d geometry components feat: add 2d geometry components - circle, polyline and polygon Feb 10, 2026
mrMetalWood and others added 10 commits February 10, 2026 09:58
…docs

Enhanced `Polygon` and `Polyline` components to support passing existing Google Maps instances via the new `polygon` and `polyline` props, reducing redundant object creation. Updated documentation with examples for using these props.
…` props

Revised documentation to enhance readability, with better formatting for props and detailed explanations of controlled/uncontrolled state for editable shapes. Added examples to illustrate practical usage scenarios.
…d Rectangle components

Expanded documentation to explain the distinction between controlled and uncontrolled usage specifically for `editable` and `draggable` properties. Updated examples to demonstrate proper state synchronization with callbacks.
@usefulthink usefulthink merged commit 54b1d0e into visgl:main Mar 20, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants