Select to view content in your preferred language

Use Geometry Engine to show buffered geometry with Sketch View Model

3807
10
04-16-2018 05:05 PM
BlakeTerhune
MVP Frequent Contributor

I want to combine the SketchViewModel for sketching temporary geometries with the GeometryEngine to show a buffer around the graphic as it's being drawn. I can't figure out how to listen for create sketch in order to generate the buffer on mousemove.

0 Kudos
10 Replies
RobertScheitlin__GISP
MVP Emeritus

Blake,

  I put a break point in Chrome debugger tools where the viewPointerMoveEvent.remove(); line is and then when I hit that break point I went and put another break point in the 

function viewPointerMoveHandler(viewEvt) { block to see it it really got removed and I never hit the second break point.