Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DirectionsRenderer apply props #211

Closed
kifahhk opened this issue Feb 17, 2016 · 4 comments
Closed

DirectionsRenderer apply props #211

kifahhk opened this issue Feb 17, 2016 · 4 comments

Comments

@kifahhk
Copy link

kifahhk commented Feb 17, 2016

Hello,

DirectionsRenderer doesn't seem to pass props to map options.
For example: <DirectionsRenderer suppressMarkers={true} .../>
does not hide markers.
etc..

am I doing something wrong?

@tomchentw
Copy link
Owner

Could you be more elaborate?
https://tomchentw.github.io/react-google-maps/#basics/directions

@kifahhk
Copy link
Author

kifahhk commented Feb 20, 2016

Sorry, I forgot code pattern. ^^
<DirectionsRenderer suppressMarkers={true} markerOptions.../>`

Idea?

@tomchentw
Copy link
Owner

Set it in the options props:

<DirectionsRenderer
  options={{suppressMarkers: true}}
/>

See README.md for more information.

@tomchentw
Copy link
Owner

We're working on this to make it clearer.

We're also looking for maintainers. Involve in #266 to help strengthen our community!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants