(zoom, minZoom)
| 71 | isPlainObject(latLng) ? latLng : { lat: latLng[0], lng: latLng[1] }; |
| 72 | |
| 73 | const _checkMinZoom = (zoom, minZoom) => { |
| 74 | if (process.env.NODE_ENV !== 'production') { |
| 75 | if (zoom < minZoom) { |
| 76 | console.warn( |
| 77 | 'GoogleMap: ' + // eslint-disable-line |
| 78 | 'minZoom option is less than recommended ' + |
| 79 | 'minZoom option for your map sizes.\n' + |
| 80 | 'overrided to value ' + |
| 81 | minZoom |
| 82 | ); |
| 83 | } |
| 84 | } |
| 85 | |
| 86 | if (minZoom < zoom) { |
| 87 | return zoom; |
| 88 | } |
| 89 | return minZoom; |
| 90 | }; |
| 91 | |
| 92 | const isFullScreen = () => |
| 93 | document.fullscreen || |
no outgoing calls
no test coverage detected