(function($) { "use strict"; // When the window has finished loading create our google map below google.maps.event.addDomListener(window, 'load', init); function init() { // Basic options for a simple Google Map // For more options see: https://developers.google.com/maps/documentation/javascript/reference#MapOptions var myLatlng = new google.maps.LatLng(60.4166438, 22.3254418); var mapOptions = { // How zoomed in you want the map to start at (always required) zoom: 17, disableDefaultUI: true, scrollwheel: false, // The latitude and longitude to center the map (always required) center: myLatlng, // New York // How you would like to style the map. // This is where you would paste any style found on Snazzy Maps. styles: [ { "elementType": "geometry", "stylers": [ { "hue": "#ff4400" }, { "saturation": -68 }, { "lightness": -4 }, { "gamma": 0.72 } ] }, { "featureType": "road", "elementType": "labels.icon" }, { "featureType": "landscape.man_made", "elementType": "geometry", "stylers": [ { "hue": "#0077ff" }, { "gamma": 3.1 } ] }, { "featureType": "water", "stylers": [ { "hue": "#00ccff" }, { "gamma": 0.44 }, { "saturation": -33 } ] }, { "featureType": "poi.park", "stylers": [ { "hue": "#44ff00" }, { "saturation": -23 } ] }, { "featureType": "water", "elementType": "labels.text.fill", "stylers": [ { "hue": "#007fff" }, { "gamma": 0.77 }, { "saturation": 65 }, { "lightness": 99 } ] }, { "featureType": "water", "elementType": "labels.text.stroke", "stylers": [ { "gamma": 0.11 }, { "weight": 5.6 }, { "saturation": 99 }, { "hue": "#0091ff" }, { "lightness": -86 } ] }, { "featureType": "transit.line", "elementType": "geometry", "stylers": [ { "lightness": -48 }, { "hue": "#ff5e00" }, { "gamma": 1.2 }, { "saturation": -23 } ] }, { "featureType": "transit", "elementType": "labels.text.stroke", "stylers": [ { "saturation": -64 }, { "hue": "#ff9100" }, { "lightness": 16 }, { "gamma": 0.47 }, { "weight": 2.7 } ] } ] }; // Get the HTML DOM element that will contain your map // We are using a div with id="map" seen below in the var mapElement = document.getElementById('map-canvas-7200'); // Create the Google Map using out element and options defined above var map = new google.maps.Map(mapElement, mapOptions); var marker = new google.maps.Marker({ position: myLatlng, map: map, icon: 'https://ravintolabroadway.fi/wp-content/uploads/2017/03/map-marker.png', title: 'Delizus' }); } var high = $('.map-container-full').data('height'); $('.map-container-full').parents('.vc_rows').css('min-height', high); })(jQuery);
Käyttämällä tätä lomaketta hyväksyt tämän sivuston tietojen tallentamisen ja käsittelyn.