getMaxResolution() {
    return /** @type {number} */ (this.get(LayerProperty.MAX_RESOLUTION));
  }
Return the maximum resolution of the layer. Returns Infinity if
the layer has no maximum resolution set.
@return {number} The maximum resolution of the layer.
@observable
@api