removePoint() {
    if (
      this.lastPointerEvent_ &&
      this.lastPointerEvent_.type != MapBrowserEventType.POINTERDRAG
    ) {
      const evt = this.lastPointerEvent_;
      this.willModifyFeatures_(evt, this.dragSegments_);
      const removed = this.removeVertex_();
      this.dispatchEvent(
        new ModifyEvent(
          ModifyEventType.MODIFYEND,
          this.featuresBeingModified_,
          evt
        )
      );
      this.featuresBeingModified_ = null;
      return removed;
    }
    return false;
  }
/**
   * Removes the vertex currently being pointed.
   * @return {boolean} True when a vertex was removed.
   * @api
   */
Removes the vertex currently being pointed.
@return {boolean} True when a vertex was removed.
@api
Removes the vertex currently being pointed . @return { boolean } True when a vertex was removed . @api
removePoint() {
    if (
      this.lastPointerEvent_ &&
      this.lastPointerEvent_.type != MapBrowserEventType.POINTERDRAG
    ) {
      const evt = this.lastPointerEvent_;
      this.willModifyFeatures_(evt, this.dragSegments_);
      const removed = this.removeVertex_();
      this.dispatchEvent(
        new ModifyEvent(
          ModifyEventType.MODIFYEND,
          this.featuresBeingModified_,
          evt
        )
      );
      this.featuresBeingModified_ = null;
      return removed;
    }
    return false;
  }
removePoint ( ) { if ( this . lastPointerEvent_ && this . lastPointerEvent_ . type != MapBrowserEventType . POINTERDRAG ) { const evt = this . lastPointerEvent_ ; this . willModifyFeatures_ ( evt , this . dragSegments_ ) ; const removed = this . removeVertex_ ( ) ; this . dispatchEvent ( new ModifyEvent ( ModifyEventType . MODIFYEND , this . featuresBeingModified_ , evt ) ) ; this . featuresBeingModified_ = null ; return removed ; } return false ; }
Removes the vertex currently being pointed.
Removes the vertex currently being pointed .