code: function (positionChange) {
                  var _this = this;
                  // finds the current position of the point by it's roles, than splices it for the new position or pushes it if it's not yet in the array
                  /** @type {?} */
                  var index = this._points.findIndex(function (point) {
                      return _this.compareArray(positionChange.roles, point.roles);
                  });
                  if (index === -1) {
                      this._points.push(positionChange);
                  }
                  else {
                      this._points.splice(index, 1, positionChange);
                  }
              }
docs: updates the position of the point
  @param {?} positionChange - position change event data
  @return {?}