(props, context)
| 66 | * @see https://developers.google.com/maps/documentation/javascript/3.exp/reference#Rectangle |
| 67 | */ |
| 68 | function Rectangle(props, context) { |
| 69 | ;(0, _classCallCheck3.default)(this, Rectangle) |
| 70 | |
| 71 | var _this = (0, _possibleConstructorReturn3.default)( |
| 72 | this, |
| 73 | (Rectangle.__proto__ || (0, _getPrototypeOf2.default)(Rectangle)).call( |
| 74 | this, |
| 75 | props, |
| 76 | context |
| 77 | ) |
| 78 | ) |
| 79 | |
| 80 | var rectangle = new google.maps.Rectangle() |
| 81 | ;(0, _MapChildHelper.construct)( |
| 82 | Rectangle.propTypes, |
| 83 | updaterMap, |
| 84 | _this.props, |
| 85 | rectangle |
| 86 | ) |
| 87 | rectangle.setMap(_this.context[_constants.MAP]) |
| 88 | _this.state = (0, _defineProperty3.default)( |
| 89 | {}, |
| 90 | _constants.RECTANGLE, |
| 91 | rectangle |
| 92 | ) |
| 93 | return _this |
| 94 | } |
| 95 | |
| 96 | ;(0, _createClass3.default)(Rectangle, [ |
| 97 | { |
nothing calls this directly
no outgoing calls
no test coverage detected