diff --git a/src/MultiPolygon.js b/src/MultiPolygon.js index 70d02217..f94da41f 100644 --- a/src/MultiPolygon.js +++ b/src/MultiPolygon.js @@ -8,7 +8,12 @@ import Path from './Path' export default class MultiPolygon extends Path { static propTypes = { - polygons: PropTypes.arrayOf(latlngListType).isRequired, + polygons: PropTypes.arrayOf( + PropTypes.oneOfType([ + latlngListType, + PropTypes.arrayOf(latlngListType), + ]) + ).isRequired, }; componentWillMount () {