fix the return type of google.maps.Polygon.getPaths