Split a Polygon by Line in OpenLayers
OpenLayers is an powerful map api to develop map based applications. But to perform complex spatial operations like splitting a polygon, merging two polygons etc., we need to find another way to accomplish these operations. OpenLayers can’t do these operations on its own. Get the full code at the GitHub repo. Check the live demo …