daily pastebin goal
52%
SHARE
TWEET

Untitled

a guest Feb 18th, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. componentDidMount = () => {
  2.     const rectangle = new google.maps.Rectangle({
  3.       ...this.props.options,
  4.       map: this.context
  5.     })
  6.  
  7.     this.setState({ rectangle }, () => {
  8.       this.registeredEvents = applyUpdatesAndRegisterEvents({
  9.         updaterMap,
  10.         eventMap,
  11.         prevProps: {},
  12.         nextProps: this.props,
  13.         instance: this.state.rectangle
  14.       })
  15.     })
  16.   }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top