zoneStyle(feature, resolution) {
    const isSelected = this.selectedZones.includes(feature);
    const isHovered =
      feature.get('isClickable') && this.hoverFeature === feature;
    const styleObject = this.styleFunction(
      feature.getProperties(),
      isSelected,
      isHovered,
    );
    const olStyles = this.getOlStylesFromObject(
      styleObject,
      isSelected,
      isHovered,
      feature,
      resolution,
    );

    return Object.values(olStyles).flat();
  }
/**
   * Returns the style of the given feature.
   * @private
   * @param {ol.Feature} feature {@link https://openlayers.org/en/latest/apidoc/module-ol_Feature-Feature.html ol/Feature}
   * @param {number} resolution Map resolution.
   * @returns {ol.Style} get the feature's style function.
   */
Returns the style of the given feature.
Returns the style of the given feature .
zoneStyle(feature, resolution) {
    const isSelected = this.selectedZones.includes(feature);
    const isHovered =
      feature.get('isClickable') && this.hoverFeature === feature;
    const styleObject = this.styleFunction(
      feature.getProperties(),
      isSelected,
      isHovered,
    );
    const olStyles = this.getOlStylesFromObject(
      styleObject,
      isSelected,
      isHovered,
      feature,
      resolution,
    );
    return Object.values(olStyles).flat();
  }
zoneStyle ( feature , resolution ) { const isSelected = this . selectedZones . includes ( feature ) ; const isHovered = feature . get ( 'isClickable' ) && this . hoverFeature === feature ; const styleObject = this . styleFunction ( feature . getProperties ( ) , isSelected , isHovered , ) ; const olStyles = this . getOlStylesFromObject ( styleObject , isSelected , isHovered , feature , resolution , ) ; return Object . values ( olStyles ) . flat ( ) ; }
Returns the style of the given feature.
Returns the style of the given feature .