I am looking for a sample code for rotate and resize vectors in Openlayers 4, but I can not find anything about it. I found this sample code http://dev.openlayers.org/examples/modify-feature.html but its version Openlayers 2.
I've done this so far
var modify = new ol.interaction.Modify({source: source});
map.addInteraction(modify);
var catch;
var typeSelect = document.getElementById('type');
function addInteractions() {
catch = new ol.interaction.Snap({source: source});
map.addInteraction(catch);
}
I can't find a function like this
OpenLayers.Control.ModifyFeature.ROTATE;