Private
_sketchA string, representing a DOM element's id
attribute. If this input is passed to the component,
the sketch widget will be constructed with the passed element. If this value is null,
the component will create a new element to host the widget.
If expand
is true
, the containerId
must be null!
Private
destroy$Private
esriIf true
, the Sketch
widget is added to an
Esri Expand
widget.
Get a reference to this widget's
Esri GraphicsLayer
.
Private
Readonly
layerThe
Esri UIAddPosition
describing where in the Map's UI the widget should be placed.
Private
Readonly
properties$Private
rendererReadonly
sketch$An observable stream of the component's active
Esri Sketch
widget.
A reference to the directives active
Esri Expand
widget.
which contains the
Esri Sketch
widget.
Private
sketchReadonly
view$The VMC View Tree's View
(scene or map)
Private
viewEmits a reference to the
Esri Sketch
widget
when it is added to the map.
The
Esri Sketch
"create"
event,
exposed as an Angular event.
The
Esri Sketch
"create"
event,
exposed as an Angular event.
This event only fires if the event.state === 'complete'
.
The
Esri Sketch
"delete"
event,
exposed as an Angular event.
All of the
Esri Sketch
events
as a single, combined Angular output event.
Emits a reference to the
Esri Expand
widget
when it is added to the map.
Emits a reference to the
Esri Expand
widget
when its when
callback is invoked, indicating the widget has loaded.
Emits a reference to the
Esri Sketch
widget
when its when
callback is invoked, indicating the widget has loaded.
The
Esri Sketch
"redo"
event,
exposed as an Angular event.
The
Esri Sketch
"undo"
event,
exposed as an Angular event.
The
Esri Sketch
"update"
event,
exposed as an Angular event.
The
Esri Sketch
"create"
event,
exposed as an Angular event.
This event only fires if the event.state === 'complete'
.
A component input that accepts
Esri GraphicsLayer
properties.
If passed, these properties will be used by the widget to construct its GraphicsLayer
reference.
A component input that accepts
Sketch
properties
to use for widget initialization.
Get a reference to the active
Esri Sketch
widget.
Private
Private
ngPrivate
ngPrivate
renderGenerated using TypeDoc
When added to a VMC view tree as the
<vmc-sketch>
element, adds the EsriSketch
widget to the map.Usage example: