Change google map marker icon when clicking button inside infowindow
问题 I have multiple markers on the map that I have imported from JSON. Inside the marker infowindow I have a button and when clicking on that, I want to change the marker image. Please check my code below. Marker list and Infowindow is working fine. I just want to do some actions on the button that is inside infowindow. var workerlist; var jobprice; var price; var map; var list; var position; var image; var image1; var marker; function myMap() { var mapProp= { center:new google.maps.LatLng(30