I have created a google map and am linking to a kml layer (shown below) in order to create the placemarks. I am trying to do two things:
- Get the name of each placemark and write it out in a div on the page.
- link the hover states of the placemark on the map and the respective name in the div, so that when either is hovered over, both have a hover state.
layers = new google.maps.KmlLayer('url of kml file is here', { preserveViewport: true });