Skip to content

Commit bf575a3

Browse files
committed
Update README.md
1 parent d64b2b2 commit bf575a3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,9 @@ The `<InfoWindow />` component included in this library is gives us the ability
214214

215215
The visibility of the `<InfoWindow />` component is controlled by a `visible` prop. The `visible` prop is a boolean (`React.PropTypes.bool`) that shows the `<InfoWindow />` when true and hides it when false.
216216

217+
There are two ways how to control a position of the `<InfoWindow />` component.
218+
You can use a `position` prop or connect the `<InfoWindow />` component directly to an existing `<Marker />` component by using a `marker` prop.
219+
217220
```javascript
218221
const WithMarkers = React.createClass({
219222
getInitialState: function() {

0 commit comments

Comments
 (0)