[GIS] How to remove a hole from a polygon in OpenLayers

openlayers-2polygon

Is it possible to remove a hole from a polygon by using OpenLayers?
How can I do so?

Best Answer

check out OpenLayers Editor here. it has tool for merging two polygon (merge selected geometry) so you can draw a polygon on to hole then merge two polygons.

editor

beside this you should check out JTS Topology Suite for javascript implementation here.

i hope it helps you...