ole
Version:
OpenLayers Editor
28 lines (27 loc) • 718 B
TypeScript
export default Move;
declare class Move extends Pointer {
constructor(options: any);
features: any;
/**
* Handle the down event of the move interaction.
* @param {ol.MapBrowserEvent} evt Event.
* @private
*/
private handleDownEvent;
coordinate: any;
isMoving: boolean | undefined;
/**
* Handle the drag event of the move interaction.
* @param {ol.MapBrowserEvent} evt Event.
* @private
*/
private handleDragEvent;
/**
* Handle the up event of the pointer interaction.
* @param {ol.MapBrowserEvent} evt Event.
* @private
*/
private handleUpEvent;
featureToMove: any;
}
import Pointer from 'ol/interaction/Pointer';