let Mymap;
function initMap() {
var pos = { lat: 55.754357, lng: 37.643577 };
Mymap = new google.maps.Map(document.getElementById("map"), {
center: pos,
zoom: 14,
});
marker = new google.maps.Marker({
position: pos,
map: Mymap,
icon: 'libs/img/adress.svg',
});
}
<div id="map" class="map"></div>
<script src="https://maps.googleapis.com/maps/api/js?key=&callback=initMap&v=weekly" async></script>