Skip to content

Commit

Permalink
fix(OverlayView): add position to propTypes
Browse files Browse the repository at this point in the history
* fixes #99 by @simon-engledew
  • Loading branch information
tomchentw committed Aug 18, 2015
1 parent b3a45ba commit 1fc968a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/creators/OverlayViewCreator.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export const overlayViewControlledPropTypes = {
// CustomProps
mapPaneName: PropTypes.string,
getPixelPositionOffset: PropTypes.func,
position: PropTypes.object,
// [].map.call($0.querySelectorAll("tr>td>code"), function(it){ return it.textContent; }).filter(function(it){ return it.match(/^set/) && !it.match(/^setMap/); })
// https://developers.google.com/maps/documentation/javascript/3.exp/reference
};
Expand All @@ -33,6 +34,7 @@ export default class OverlayViewCreator extends Component {
overlayView.setValues(composeOptions(overlayViewProps, [
"mapPaneName",
"getPixelPositionOffset",
"position",
"children",
]));

Expand Down

0 comments on commit 1fc968a

Please sign in to comment.