Sketch - change default geometry symbol while drawing

278
2
08-25-2019 12:19 PM
AzariaszTrzciński
New Contributor III

I changed symbol AFTER create / update:

sketch.on('create', function(event) {
if (event.state === 'complete') {
event.graphic.symbol=my_symbol;
...
}
}

But how to change default geometry symbol while drawing? I mean this blue dashed and grey lines.

sketch-geometries

2 Replies
UndralBatsukh
Esri Regular Contributor

Hi there, 

You cannot change the update graphic for SketchViewModel at this time. It is on our to do list. However, I do not have a timeline for this. 

-Undral

0 Kudos
Alexandre-Notos
New Contributor II

Has there been any updates on this?

We are building a UAV mission planning tool and are looking to insert and modify waypoint location as if they were vertex of a polyline. Is it possible modify the look of the SketchViewModel draw and editor function or do we need to build our own using the draw class?

0 Kudos