setKey(key) {
    if (this.key_ !== key) {
      this.key_ = key;
      this.changed();
    }
  }
Set the value to be used as the key for all tiles in the source.
@param {string} key The key for tiles.
@protected