dragging in 2D and Columbus view

There is a nice excample of a draggable pin


It works fine in 3D, but in 2D and Columbus view it does not drag the pin, but pans the map.

How to make it work in 2D/Columbus view?

Thank you


In 3D, we’re setting scene.screenSpaceCameraController.enableRotate = false; on LEFT_DOWN so the globe doesn’t move. For 2D and CV, you need to set scene.screenSpaceCameraController.enableTranslate = false;. Add that line under enableRotate, and set it back to true in the LEFT_UP function. I’ll update the example on the website as well. Thanks for bringing this up!