function initMap() {
    // EPSG location
    let epsg = {
        lat: 38.996497,
        lng: -0.166144
    };

    // Center map around EPSG
    let map = new google.maps.Map(
        document.getElementById('map-contact'), {
            zoom: 18,
            tilt: 0,
            center: epsg,
            mapTypeId: 'roadmap',
            rotateControl: false,
            mapTypeControl: false
        });

    // Place a marker on top of EPSG
    let marker = new google.maps.Marker({
        position: epsg,
        map: map
    });

    // New information window (pop-up)
    infoWindow = new google.maps.InfoWindow();

    // Info window  on click
    marker.addListener('click', function() {
        openInfoWindow("<h4>UPV - Escuela Politécnica Superior de Gandia</h4> C/ Paranimf, 1, Edificio F <br> 46730 Grau de Gandia, Valencia, España", marker);
    });
}
/**
 * This function initializes and adds the map
 */
This function initializes and adds the map
This function initializes and adds the map
function initMap() {
    let epsg = {
        lat: 38.996497,
        lng: -0.166144
    };
    let map = new google.maps.Map(
        document.getElementById('map-contact'), {
            zoom: 18,
            tilt: 0,
            center: epsg,
            mapTypeId: 'roadmap',
            rotateControl: false,
            mapTypeControl: false
        });
    let marker = new google.maps.Marker({
        position: epsg,
        map: map
    });
    infoWindow = new google.maps.InfoWindow();
    marker.addListener('click', function() {
        openInfoWindow("<h4>UPV - Escuela Politécnica Superior de Gandia</h4> C/ Paranimf, 1, Edificio F <br> 46730 Grau de Gandia, Valencia, España", marker);
    });
}
function initMap ( ) { let epsg = { lat : 38.996497 , lng : - 0.166144 } ; let map = new google . maps . Map ( document . getElementById ( 'map-contact' ) , { zoom : 18 , tilt : 0 , center : epsg , mapTypeId : 'roadmap' , rotateControl : false , mapTypeControl : false } ) ; let marker = new google . maps . Marker ( { position : epsg , map : map } ) ; infoWindow = new google . maps . InfoWindow ( ) ; marker . addListener ( 'click' , function ( ) { openInfoWindow ( "<h4>UPV - Escuela Politécnica Superior de Gandia</h4> C/ Paranimf, 1, Edificio F <br> 46730 Grau de Gandia, Valencia, España",  m rker); } ) ; }
This function initializes and adds the map
This function initializes and adds the map
// EPSG location // Center map around EPSG // Place a marker on top of EPSG // New information window (pop-up) // Info window  on click