Merge two polygons together
This sample shows how to merge (union) two polygons together to create a single polygon object. This sample uses the open source
Turf.js
library to for some of the spatial calculation.