Appearance
Shape creation and editing playground
This sample demonstrates interactive vector creation through the chained shape creation controller and enters edit mode when an existing feature is selected.
Shape and handle styles are highly customizable.
Mouse and keyboard controls
- Choose a shape tool in the floating toolbar to start a creation session.
- Left click to add points while creating.
- Double click or press Enter to finalize a line or polygon.
- Extruded polygons use a second step: after the base is closed, move the mouse to set height, then double click or press Enter to finalize.
- Right click while creating a line or polygon to remove the last point.
- Click an existing feature to switch into edit mode for that selection.
- Drag or alt+drag to move handles or modify elevation.
- Press Enter to validate shape.
- Press Escape to cancel the current edit interaction.
- Press Delete while editing to remove the active edit target.