add tests for polygon and polyline support, return FeatureCollection as a []MapItem