I'm using this code example: https://developers.google.com/maps/documentation/javascript/examples/directions-draggable
But i not like show the directions... I would like to show only waypoints.. like this:
Any help will be appreciated :)
Well you could always hide that unwanted part of the panel using additional css:
.adp-directions, .adp-summary {
display:none;
}
Check out this fiddle ( I think you have to run it again after it loads) : https://jsfiddle.net/eyxyhwor/1/
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.