MCPcopy Create free account
hub / github.com/tomchentw/react-google-maps / Map

Function Map

lib/components/GoogleMap.js:136–159  ·  view source on GitHub ↗
(props, context)

Source from the content-addressed store, hash-verified

134 ])
135
136 function Map(props, context) {
137 ;(0, _classCallCheck3.default)(this, Map)
138
139 var _this = (0, _possibleConstructorReturn3.default)(
140 this,
141 (Map.__proto__ || (0, _getPrototypeOf2.default)(Map)).call(
142 this,
143 props,
144 context
145 )
146 )
147
148 ;(0, _invariant2.default)(
149 !!_this.context[_constants.MAP],
150 "Did you wrap <GoogleMap> component with withGoogleMap() HOC?"
151 )
152 ;(0, _MapChildHelper.construct)(
153 GoogleMap.propTypes,
154 updaterMap,
155 _this.props,
156 _this.context[_constants.MAP]
157 )
158 return _this
159 }
160
161 ;(0, _createClass3.default)(Map, [
162 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected