Skip to content

Commit 2c94d32

Browse files
authored
Merge pull request #142 from workfinder/feature/add_fullscreen_flag
Provide a hook to explicitly show/hide the fullscreen control
2 parents cfc00d9 + 938743b commit 2c94d32

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)