Parameters
- polyline
- The polyline to buffer
- distance
- The buffer distance
- side
- The side of the polyline to create the buffer
- capType
- The line cap type
Return Value
Geometry representing the side buffer. If the input polyline is empty, then an empty polygon is returned.