(props, context)
| 44 | * @see https://developers.google.com/maps/documentation/javascript/3.exp/reference#Rectangle |
| 45 | */ |
| 46 | constructor(props, context) { |
| 47 | super(props, context) |
| 48 | const rectangle = new google.maps.Rectangle() |
| 49 | construct(Rectangle.propTypes, updaterMap, this.props, rectangle) |
| 50 | rectangle.setMap(this.context[MAP]) |
| 51 | this.state = { |
| 52 | [RECTANGLE]: rectangle, |
| 53 | } |
| 54 | } |
| 55 | |
| 56 | componentDidMount() { |
| 57 | componentDidMount(this, this.state[RECTANGLE], eventMap) |
nothing calls this directly
no test coverage detected