+non leaflet version of polygonCenter. +added polygonArea