Hello everyone. I want to change the size of the vertex circle symbol when sketch is in update mode. It have to be bigger because is tiny to user see.
The SketchViewModel object is like this.
const notamSketch = new SketchViewModel({
Please see this post which discusses changing the appearance of the vertex symbol. It was from a year ago, but if things haven't changed, you'd probably want something like:
sketchViewModel.set("vertexSymbol.size", "20px");
This solution dont't work for me...
This approach worked for me, but when a move the cursor above the vertex symbol, return to the previous behaviour.
(
this.sketch.get('_internalGraphicsLayer') as InternalGraphicsLayer
)?.graphics.map((gra: Graphic) => {
if (gra.geometry.type === 'point') {
(gra.symbol as SimpleMarkerSymbol).size = 13;
}
});
B