Implemented defining the boundary of polygons and minor changes to support the styles hashmap