pieterv / react-googlemaps

A declarative React interface to Google Maps
MIT License
226 stars 68 forks source link

Warning when using google.maps.MVCArray in Polyline path #25

Open ehgoodenough opened 9 years ago

ehgoodenough commented 9 years ago

The MVCArray totally works when it renders, but it just pops up an annoying warning to the console. And more importantly, it lets me add LatLngs to the MVCArray async'ly.

Warning: Invalid prop `path` of type `object` supplied to `Polyline`, expected `array`. Check the render method of `ReactFrag`.

This is an issue of the frag being too tight in PropTypes?