MicheleBertoli / react-gmaps

A Google Maps component for React.js
http://react-gmaps.herokuapp.com/
MIT License
317 stars 68 forks source link

Any way to access the map object to display a route? #94

Closed malexandrum closed 7 years ago

malexandrum commented 7 years ago

We need to display a route between markers and I don't see support for that. If you would expose the map object though, we could do it.

MicheleBertoli commented 7 years ago

You can access the original map object as a parameter of the onMapCreated callback. Hope this helps.

malexandrum commented 7 years ago

Yes, that did it, thank you