However, the boundary can be an array of two item types - a string ('location name') or a Location.
see: Microsoft.Maps.SpatialDataService.GeoDataAPIManager.getBoundary
Location is simple class that has:
latitude | number | The latitude of the location.
longitude | number | The longitude of the location.
When passing in an array that contains a Location object, the propcheck fails.
The code is using:
location: _propTypes2.default.oneOfType([_propTypes2.default.arrayOf(_propTypes2.default.number), _propTypes2.default.arrayOf(_propTypes2.default.string)]),
However, the boundary can be an array of two item types - a string ('location name') or a Location. see: Microsoft.Maps.SpatialDataService.GeoDataAPIManager.getBoundary
Location is simple class that has: latitude | number | The latitude of the location. longitude | number | The longitude of the location.
When passing in an array that contains a Location object, the propcheck fails.