diff --git a/src/creators/GoogleMapHolder.js b/src/creators/GoogleMapHolder.js index 9ebab44e..ffe578b2 100644 --- a/src/creators/GoogleMapHolder.js +++ b/src/creators/GoogleMapHolder.js @@ -5,6 +5,10 @@ import { Children, } from "react"; +import { + default as warning, +} from "warning"; + import {default as GoogleMapEventList} from "../eventLists/GoogleMapEventList"; import {default as eventHandlerCreator} from "../utils/eventHandlerCreator"; import {default as defaultPropsCreator} from "../utils/defaultPropsCreator"; @@ -56,6 +60,11 @@ export default class GoogleMapHolder extends Component { } static _createMap (domEl, mapProps) { + warning(`undefined` !== typeof google, +`Make sure you've put a