Multi-select with the transform interaction and multi polygon transform
Hi Guys,
We developing our app with OpenLayers, and we have a need to select multi features and rotate/scale and move them. it seems the Transform interaction is a single select, is there a way to implement and rotate/scale/move multi features?
we also tried to select as multi polygon but it seems when scaling the multipolygon that has rotate rectangles they lose their shape and become parallelograms , also when transform the multi-polygon some of the rectangles before the multi polygon have different style and selecting them as 1 multipolygon break it until be 'break' the transform,
how hard is to implement multi-select transoform ? can you put we on the right direction where I need to make changes?
also it seems the multi select not selecting when keepRectangle set to true, which is exactly what We need to work
Hi,
ol/interaction/Transform works on multi polygons and you can select many objects to treat them in a bulk.
keepRectangle only apply on one object (a rectangle) and try to transform it using main direction instead of the X,Y