Skip to content

Commit

Permalink
Merge pull request #18 from wmertens/patch-1
Browse files Browse the repository at this point in the history
Provide map instance and Maps API to callback
  • Loading branch information
MicheleBertoli committed Aug 26, 2015
2 parents 2c8192f + 1ecd5a5 commit 10643c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/gmaps.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const Gmaps = React.createClass({
isMapCreated: true
});
if (this.props.onMapCreated) {
this.props.onMapCreated();
this.props.onMapCreated(this.map, google.maps);
}
},

Expand Down

0 comments on commit 10643c7

Please sign in to comment.