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

How to supressMarkers from directions? #144

Open
rafatrace opened this issue Jul 8, 2016 · 1 comment
Open

How to supressMarkers from directions? #144

rafatrace opened this issue Jul 8, 2016 · 1 comment
Milestone

Comments

@rafatrace
Copy link

How do I use supressMarkers options on directions type, to remove A and B points. I read #31 but it was very old and didn't solve the problem.

Any new tip on how to achieve this?
Thanks.

@danielemoraschi
Copy link
Owner

You'll need to modify the source at this line:
https://github.com/danielemoraschi/maplace.js/blob/master/src/maplace.js#L710

Adding the option "suppressMarkers" as per Google reference https://developers.google.com/maps/documentation/javascript/reference#DirectionsRendererOptions but I haven't tested the result.

I try to add the option to one of the next versions.

Thank you

@danielemoraschi danielemoraschi added this to the Backlog milestone Jun 22, 2017
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