openlayers-8.x-4.x-dev/src/Plugin/Interaction/DoubleClickZoom/DoubleClickZoom.php

src/Plugin/Interaction/DoubleClickZoom/DoubleClickZoom.php
<?php

namespace Drupal\openlayers\Plugin\Interaction\DoubleClickZoom;

use Drupal\Core\Form\FormStateInterface;
use Drupal\openlayers\Types\Interaction;

/**
 * FIX - Insert short comment here.
 *
 * @OpenlayersPlugin(
 *   id = "ol_interaction_doubleclickzoom",
 *   label = @Translation("Double Click Zoom"),
 *   description = @Translation("Allows the user to zoom by double-clicking on the map."),
 *   service = "openlayers.Interaction:DoubleClickZoom",
 *   library = "openlayers-plugin-interaction-doubleclickzoom",
 *   is_configurable = "false",
 *   type = "interaction"
 * )
 */
class DoubleClickZoom extends Interaction {
  
  /**
   * {@inheritdoc}
   */
  public function buildConfigurationForm(array $form, FormStateInterface $form_state) {
    return $form;
  }

}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc