OpenLayers 2.10 and
JSTS Topology Suite 0.11.1 by Björn Harrtell
Set active layer
source layer with input features
target layer for result feature
Layer functions
Operations on one feature
Boundary
Buffer
Centroid
ConvexHull
Operations on two features
Union
Intersection
SymDifference
Difference
Simplify
topologySimplifyPreservingSimplify
Options
distance Buffer and Simplify
Use all source features
Use mapscript
Execute Operation