openlayers-8.x-4.x-dev/src/Plugin/Interaction/PinchRotate/PinchRotate.php
src/Plugin/Interaction/PinchRotate/PinchRotate.php
<?php
namespace Drupal\openlayers\Plugin\Interaction\PinchRotate;
use Drupal\Core\Form\FormStateInterface;
use Drupal\openlayers\Types\Interaction;
/**
* FIX - Insert short comment here.
*
* @OpenlayersPlugin(
* id = "ol_interaction_pinchrotate",
* label = @Translation("Pinch Rotate"),
* description =
* @Translation("Allows map rotation by twisting with two fingers on a touch screen."),
* service = "openlayers.Interaction:PinchRotate",
* library = "openlayers-plugin-interaction-pinchrotate",
* is_configurable = "true",
* type = "interaction"
* )
*/
class PinchRotate extends Interaction {
/**
* {@inheritdoc}
*/
public function buildConfigurationForm(array $form, FormStateInterface $form_state) {
return $form;
}
}
