ol-rotate-feature
Version:
Rotate vector features interaction for OpenLayers
15 lines (12 loc) • 401 B
JavaScript
/**
* This file is part of ol-rotate-feature package.
* @module ol-rotate-feature
* @license MIT
* @author Vladimir Vershinin
*/
import RotateFeatureInteraction from "./interaction"
// for backward compatibility
if (typeof window !== 'undefined' && window.ol && window.ol.interaction) {
window.ol.interaction.RotateFeature = RotateFeatureInteraction
}
export default RotateFeatureInteraction