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

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

namespace Drupal\openlayers\Plugin\Interaction\MouseWheelZoom;

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

/**
 * FIX - Insert short comment here.
 *
 * @OpenlayersPlugin(
 *   id = "ol_interaction_mousewheelzoom",
 *   label = @Translation("Mouse Wheel Zoom"),
 *   description =
 *     @Translation("Allows the user to zoom the map by scrolling the mouse wheel."),
 *   service = "openlayers.Interaction:MouseWheelZoom",
 *   library = "openlayers-plugin-interaction-mousewheelzoom",
 *   is_configurable = "true",
 *   type = "interaction" 
 * )
 */
class MouseWheelZoom extends Interaction {

  /**
   * {@inheritdoc}
   */
  public function buildConfigurationForm(array $form, FormStateInterface $form_state) {
    return $form;
  }

}

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

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