In my app I've to fetch data from Google Places API and to dispaly markers on the Google Map. Here in this part I've to show the marker and then fetch the location and have to send that to my back end. Can anyone help?
<input
type="text"
id="pac-input"
className="controls"
placeholder="Search Box"
value={this.state.fields["event_location"] || ''}
onChange={this.onChange.bind(this, "event_location")} />
<div id="map"></div>
<p>Unable to locate? <button className="btn btn-default inline" data-toggle="collapse" data-target="#address_panel">Enter an Address</button></p>