articodeltd / angular-cesium

JavaScript library for creating map based web apps using Cesium and Angular
https://github.com/articodeltd/angular-cesium/settings/pages
MIT License
178 stars 93 forks source link

removePointModifier with CesiumEventModifier.SHIFT not working for Polylines and Polygon Editor #399

Open qandeelabbassi opened 3 years ago

qandeelabbassi commented 3 years ago

Changing the value of removePointModifier to CesiumEventModifier.SHIFT has no effect on PolylinesEditorService or PolygonsEditorService. The default option (simple right-click) still remains active. But if I change the modifier to say CesiumEventModifier.ALT, then the modifier works as expected

Intended outcome: The point should only be deleted when right-click action is performed with the SHIFT key

Actual outcome: The point is deleted only when simple right-click action is performed. It doesn't work with the SHIFT key

How to reproduce the issue: Change the removePointModifier to CesiumEventModifier.SHIFT and then after creating a new polygon/polyline try deleting a point with right-click+shift key

Version