I have photos on the server:
- different sizes
- in a square
I would like to load them as a Marker, but I would like a photo in a circle
Below I have a code that loads the photo as a Marker, scales well but I don't know how to get the circular photo effect.
There is no specific and good solution on the Internet, and if something is, the entries are from several years ago.
const profileImage = {
url:"@Model.LogoPath",
scaledSize: new google.maps.Size(50, 50)
};
userLocationMarker = new google.maps.Marker({
position: myLatLng,
map,
title: "Start",
icon: profileImage
});