How to use the angular-cesium.EditActions.DRAG_POINT_FINISH function in angular-cesium

To help you get started, we’ve selected a few angular-cesium examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github articodeltd / angular-cesium / projects / demo / src / app / components / editor-layer / polyline-example / polyline-editor-example.component.ts View on Github external
this.editing$.subscribe((editUpdate: PolylineEditUpdate) => {

      if (editUpdate.editAction === EditActions.DRAG_POINT_FINISH) {
        console.log(editUpdate.points); // point = position with id
        console.log(editUpdate.positions); // or just position
        console.log(editUpdate.updatedPosition); // added position
      }
    });
  }
github articodeltd / angular-cesium / demo / app / components / editor-layer / polygons-editor-layer / polygons-editor-layer.component.ts View on Github external
this.editing$.subscribe((editUpdate: PolygonEditUpdate) => {
      if (editUpdate.editAction === EditActions.DRAG_POINT_FINISH) {
        console.log(editUpdate.points); // point = position with id
        console.log(editUpdate.positions); // or just position
        console.log(editUpdate.updatedPosition); // added position
      }
    });
  }
github articodeltd / angular-cesium / projects / demo / src / app / components / editor-layer / hippodrome-example / hippodrome-editor-example.component.ts View on Github external
this.editing$.subscribe((editUpdate: HippodromeEditUpdate) => {
      if (editUpdate.editAction === EditActions.DRAG_POINT_FINISH) {
        console.log(editUpdate.points); // point = position with id
        console.log(editUpdate.positions); // or just position
        console.log(editUpdate.updatedPosition); // added position
      }
    });
  }
github articodeltd / angular-cesium / demo / app / components / editor-layer / polygons-editor-layer / polygons-editor-example.component.ts View on Github external
this.editing$.subscribe((editUpdate: PolygonEditUpdate) => {
      if (editUpdate.editAction === EditActions.DRAG_POINT_FINISH) {
        console.log(editUpdate.points); // point = position with id
        console.log(editUpdate.positions); // or just position
        console.log(editUpdate.updatedPosition); // added position
      }
    });
  }
github articodeltd / angular-cesium / projects / demo / src / app / components / editor-layer / polyline-example / polyline-editor-example.component.ts View on Github external
this.editing$.subscribe((editUpdate: PolylineEditUpdate) => {
      if (editUpdate.editAction === EditActions.DRAG_POINT_FINISH) {
        console.log(editUpdate.points); // point = position with id
        console.log(editUpdate.positions); // or just position
        console.log(editUpdate.updatedPosition); // added position
      }
    });
    this.editing$.subscribe((editUpdate: PolylineEditUpdate) => {