Draw polygon overlays
Refactored code