maplace.js
maplace.js copied to clipboard
How to supressMarkers from directions?
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.
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