Hello all,
I'm working on getting my maps up in React and I'm having some issues with the Sketch module.
After I complete the shape it only shows me the outline of the selected area, but I don't see the grey selected area like the tutorial example here
const model = new Sketch({
view: view,
layer: graphicLayerCreate,
creationMode: "update",
});
I have tried to add another graphic to the layer with the geometry I receive back. Any ideas?
model.on("create", (evt) => {
if (evt.state === "complete") {
//put another graphic on the layer
}
})