I created the Google Maps using tomchentw react-google-maps. The marker icon by default displays red marker icon, but whenever user clicks the marker icon it should change into grey marker icon and also increases the marker icon size. How can I changed it?
<Marker
onClick={this.MarkerClicked.bind(this,house._id)}
icon={{url: "/images/mapRed2.png"}}
position={{lat: house.location.lat, lng: house.location.lng}}
/>
When my marker icon is clicked it should change its icon and size.