From 5beca594f76c5144814582669113f0ef8b58fda9 Mon Sep 17 00:00:00 2001
From: Kilian Ciuffolo <kilian.ciuffolo@gmail.com>
Date: Sat, 2 Feb 2019 14:20:56 -0800
Subject: [PATCH] Add backgroundColor to map prop fixes #312

---
 src/index.js | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/index.js b/src/index.js
index c42e718b..5f4466a0 100644
--- a/src/index.js
+++ b/src/index.js
@@ -165,7 +165,8 @@ export class Map extends React.Component {
           disableDoubleClickZoom: this.props.disableDoubleClickZoom,
           noClear: this.props.noClear,
           styles: this.props.styles,
-          gestureHandling: this.props.gestureHandling
+          gestureHandling: this.props.gestureHandling,
+          backgroundColor: this.props.backgroundColor
         }
       );
 
@@ -299,7 +300,8 @@ Map.propTypes = {
   noClear: PropTypes.bool,
   styles: PropTypes.array,
   gestureHandling: PropTypes.string,
-  bounds: PropTypes.object
+  bounds: PropTypes.object,
+  backgroundColor: PropTypes.string
 };
 
 evtNames.forEach(e => (Map.propTypes[camelize(e)] = PropTypes.func));