Skip to content
event: { icon: '/site/themes/prototypen/img/map-marker.svg' } }; var offices = [ { position: new google.maps.LatLng(59.9139024,10.7275898,17), // Oslo office type: 'office' }, { position: new google.maps.LatLng(62.4709801,6.2322335,17), // Ålesund office type: 'office' } ]; footerMap = new google.maps.Map( document.getElementById('footer-map'), { center: new google.maps.LatLng(61.9019945,10.5850081,6), // Norway zoom: 6, styles: styles, disableDefaultUI: true, streetViewControl: false, panControl: false, mapTypeControl: false, scrollwheel: false, navigationControl: false, scaleControl: false, draggable: false, }); // Create markers for footer map for (var i = 0; i < offices.length; i++) { var marker = new google.maps.Marker({ position: offices[i].position, icon: icons[offices[i].type].icon, map: footerMap }); }; }