openlayers-8.x-4.x-dev/src/Plugin/Interaction/DragRotateAndZoom/DragRotateAndZoom.php
src/Plugin/Interaction/DragRotateAndZoom/DragRotateAndZoom.php
<?php
namespace Drupal\openlayers\Plugin\Interaction\DragRotateAndZoom;
use Drupal\Core\Form\FormStateInterface;
use Drupal\openlayers\Types\Interaction;
/**
* FIX - Insert short comment here.
*
* @OpenlayersPlugin(
* id = "ol_interaction_dragrotateandzoom",
* label = @Translation("Drag Rotate and Zoom"),
* description = @Translation("Allows the user to zoom and rotate the map by clicking and
* dragging on the map when the [ALT] and [SHIFT] keys are held down. This
* interaction is only supported for mouse devices."),
* description = @Translation("TODO..."),
* service = "openlayers.Interaction:DragRotateAndZoom",
* library = "openlayers-plugin-interaction-dragrotateandzoom",
* is_configurable = "true",
* type = "interaction"
* )
*/
class DragRotateAndZoom extends Interaction {
/**
* {@inheritdoc}
*/
public function buildConfigurationForm(array $form, FormStateInterface $form_state) {
return $form;
}
}
