function addMarker(marker) {
var marker = new google.maps.Marker({
position: marker.position,
icon: icons[marker.type].icon,
map: map,
content: marker.content
});
marker.addListener('click', function() { });