You are here

Style.php in Openlayers 7.3

Class Style.

File

src/Types/Style.php
View source
<?php

/**
 * @file
 * Class Style.
 */
namespace Drupal\openlayers\Types;


/**
 * Class Style.
 */
abstract class Style extends Base implements StyleInterface {

  /**
   * The array containing the options.
   *
   * @var array
   */
  protected $options;

  /**
   * {@inheritdoc}
   */
  public function getJS() {
    $js = parent::getJS();
    unset($js['opt']['styles']);
    return $js;
  }

}

Classes

Namesort descending Description
Style Class Style.