Display marker icon outside the google map

I am using following definition in order to display a custom icon as marker on a google map with Maps JavaScript API of Google:

const iconCircle= {
    path: google.maps.SymbolPath.CIRCLE, 
    fillColor: "red", 
    fillOpacity: 1,
    strokeWeight: 2, 
    strokeColor: "black", 
    rotation: 0,
    anchor: new google.maps.Point(0, 0) 
};
var marker = new google.maps.Marker({
    position: position_lat_lng,
    icon: iconCircle,
    map: map
});
marker.icon.scale = custom_scale;

How can I display this icon outside of the map? e.g. in a symbol legend