How do I customize a Google Maps marker (like AirBNB)?
I'm curious if anyone has experience customizing the marker in Google Maps, a la AirBNB . I understand how the icon works but I haven't had success replicating the marker with the arrow, and price exactly like the photo.
let marker = new google.maps.Marker({
position: pos,
map: this.map,
title: facility.name,
icon: {
path: 'M22-48h-44v43h16l6 5 6-5h16z',
fillColor: '#00CCBB',
fillOpacity: 1,
strokeColor: '',
strokeWeight: 0
},
label: {
text: "$75",
color: "#FFF",
fontSize: "14px",
fontWeight: "bold"
}
})