create elevation chart from markers and a HUB
问题 This Javascript plots a HUB marker with a ployline from the HUB to all surrounding markers. I would like to plot an elevation chart from the HUB to the marker a user clicks. Without the elevation portion the script runs, with the elevation portion nothing display, not the map and not the elevation chart. <html> <head> <title>HUB</title> <script src="https://maps.googleapis.com/maps/api/js"></script> </head> <body> <center> <div id="map" style="width: 900px; height: 600px;"></div> <script type