Skip to content

Commit 5aefd08

Browse files
committed
Add backgroundColor prop
1 parent c70a04f commit 5aefd08

File tree

5 files changed

+12
-28
lines changed

5 files changed

+12
-28
lines changed

dist/index.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@
267267
noClear: this.props.noClear,
268268
styles: this.props.styles,
269269
gestureHandling: this.props.gestureHandling,
270-
draggableCursor: this.props.draggableCursor,
270+
backgroundColor: this.props.backgroundColor,
271271
draggingCursor: this.props.draggingCursor
272272
});
273273

@@ -317,7 +317,7 @@
317317

318318
if (!google) return;
319319
var maps = google.maps;
320-
320+
321321
if (map) {
322322
var center = this.state.currentLocation;
323323
if (!(center instanceof google.maps.LatLng)) {
@@ -415,7 +415,6 @@
415415
styles: _propTypes2.default.array,
416416
gestureHandling: _propTypes2.default.string,
417417
bounds: _propTypes2.default.object,
418-
draggableCursor: _propTypes2.default.string,
419418
draggingCursor: _propTypes2.default.string
420419
};
421420

@@ -438,4 +437,3 @@
438437

439438
exports.default = Map;
440439
});
441-

dist/lib/GoogleApi.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@
4949
v: googleVersion,
5050
channel: channel,
5151
language: language,
52-
region: region
52+
region: region,
53+
onerror: 'ERROR_FUNCTION'
5354
};
5455

5556
var paramStr = Object.keys(params).filter(function (k) {

dist/lib/String.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@
2121
return word.charAt(0).toUpperCase() + word.slice(1);
2222
}).join('');
2323
};
24-
});
24+
});

package-lock.json

Lines changed: 5 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,8 @@ export class Map extends React.Component {
165165
disableDoubleClickZoom: this.props.disableDoubleClickZoom,
166166
noClear: this.props.noClear,
167167
styles: this.props.styles,
168-
gestureHandling: this.props.gestureHandling
168+
gestureHandling: this.props.gestureHandling,
169+
backgroundColor: this.props.backgroundColor
169170
}
170171
);
171172

0 commit comments

Comments
 (0)