AnsweredAssumed Answered

Workflow suggestions for moving a Graphic?

Question asked by keith.gemeinhart on Feb 28, 2017
Latest reply on Mar 1, 2017 by keith.gemeinhart

I have some graphics on the map (point geometries). What is the best way to move a single graphic with the mouse? I would like to click on to select, which is easy. I already have selection working. Then when the user clicks and drags the graphic, I want it to follow the mouse as it moves and remain where the user releases the mouse button. Essentially a typical operation for moving things around.

 

What is the best way to implement this in Runtime 100.0? Is there some way to inject an existing graphic into the sketch editor? I've thought about a workaround - making the exiting graphic invisible, using the sketch graphic as a temporary feedback mechanism, then when sketch editing ends, move the existing graphic and making it visible again. The temp graphic would be deleted at that point. That seems a little convoluted and hoping for a simpler method if it exists.

Outcomes