Skip to content

Commit 938743b

Browse files
committed
Provide a hook to hide the fullscreen control
1 parent f626c20 commit 938743b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ export class Map extends React.Component {
151151
streetViewControl: this.props.streetViewControl,
152152
panControl: this.props.panControl,
153153
rotateControl: this.props.rotateControl,
154+
fullscreenControl: this.props.fullscreenControl,
154155
scrollwheel: this.props.scrollwheel,
155156
draggable: this.props.draggable,
156157
keyboardShortcuts: this.props.keyboardShortcuts,
@@ -279,6 +280,7 @@ Map.propTypes = {
279280
streetViewControl: PropTypes.bool,
280281
panControl: PropTypes.bool,
281282
rotateControl: PropTypes.bool,
283+
fullscreenControl: PropTypes.bool,
282284
scrollwheel: PropTypes.bool,
283285
draggable: PropTypes.bool,
284286
keyboardShortcuts: PropTypes.bool,

0 commit comments

Comments
 (0)