Looking for drawing tutorials or sandcastles

I was wondering if anyone could point me at tutorials or sandcastles on mouse interaction with the viewer.

I am specifically interested in:

  1. using a mouse to draw lines, circles, and polygon entities
  2. being able to temporarily disable the standard interactions of panning with a click&drag, etc. and then reenable them

I have looked through all of the live-code examples, tutorials, etc. on the site, but none of them cover these two topics…or have I missed something?

Hi, You can check this sandcastle example.

  • Regards

Thank you. I did finally find that one right after I posted.

As for how to be able to disable the standard interactions with the camera, I found:

how to disable click and drag which mentioned:

viewer.scene.screenSpaceCameraController.enableRotate = false;
viewer.scene.screenSpaceCameraController.enableTranslate = false;
viewer.scene.screenSpaceCameraController.enableZoom = false;
viewer.scene.screenSpaceCameraController.enableTilt = false;
viewer.scene.screenSpaceCameraController.enableLook = false;