updated to only render the svg once and scale when panning and zooming
refactored createPolygonWith
updated to render multiple shapes