Hello
i draw shape on arcGis map
i want to disable edit shape once it is created.
please find attachment.
following code is not working.
mapView.when(function () {
let sketchViewModel = new SketchViewModel({
view: mapView,
layer: tempGraphicsLayer,
updateOnGraphicClick: false,
defaultUpdateOptions: {
toggleToolOnClick: false
},
pointSymbol: {
type: "simple-marker",
style: "circle",
color: "#349eeb",
size: "16px",
outline: {
color: "#349eeb",
width: 4
},
},
Hello. I am running into a similar issue trying to disable editing of sketchviewmodel graphics. Was there ever a solution for this?