From 09521251ecc4b7e12ebe5026dd4f3cf6d81bd971 Mon Sep 17 00:00:00 2001 From: Michele Bertoli Date: Wed, 26 Aug 2015 21:30:31 +0100 Subject: [PATCH] version 0.3.4 --- README.md | 7 ++----- dist/components/gmaps.js | 2 +- package.json | 2 +- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 0f1bd87..c4b0122 100644 --- a/README.md +++ b/README.md @@ -37,10 +37,8 @@ const coords = { const App = React.createClass({ - onMapCreated() { - const {Gmaps} = this.refs; - console.log('onMapCreated', Gmaps.getMap()); - Gmaps.getMap().setOptions({ + onMapCreated(map) { + map.setOptions({ disableDefaultUI: true }); }, @@ -60,7 +58,6 @@ const App = React.createClass({ render() { return (