PATH:
root
/
alutechnikjs
(init = function(d, data) { var data; if (!data || typeof(data) != "object") data = {}; if (!data.lat) data.lat = 50.784816; if (!data.lng) data.lng = 19.0842433; if (!data.title) data.title = window.title; if (!data.mapEl) { return false; data.mapEl = document.createElement("div"); data.mapEl.style.width = "100%"; data.mapEl.style.height = (250 / 16) + "rem"; d.body.appendChild(data.mapEl); } var wf = d.createElement('script'), s = d.scripts[0]; wf.src = 'https://maps.googleapis.com/maps/api/js?key=AIzaSyDemSNh7eTIaNF-EqdPA0yf-BghFcuTEDI'; if (typeof(window.google) === 'undefined') s.parentNode.insertBefore(wf, s); var timer = setInterval(function() { try { if (google.maps) init(); clearTimeout(timer); } catch(err) { console.log("Google Maps not loaded! Retry after 1s...", err); } }, 1000); function init() { // Basic options for a simple Google Map // For more options see: https://developers.google.com/maps/documentation/javascript/reference#MapOptions var mapOptions = { // How zoomed in you want the map to start at (always required) zoom: 16, // The latitude and longitude to center the map (always required) center: new google.maps.LatLng(data.lat, data.lng), // How you would like to style the map. // This is where you would paste any style found on Snazzy Maps. styles: [{"featureType":"administrative.province","elementType":"all","stylers":[{"visibility":"off"}]},{"featureType":"administrative.locality","elementType":"labels","stylers":[{"lightness":"-8"}]},{"featureType":"administrative.locality","elementType":"labels.text.fill","stylers":[{"color":"#000000"}]},{"featureType":"administrative.locality","elementType":"labels.text.stroke","stylers":[{"visibility":"off"}]},{"featureType":"administrative.neighborhood","elementType":"all","stylers":[{"color":"#acacac"}]},{"featureType":"administrative.neighborhood","elementType":"labels.text.fill","stylers":[{"color":"#484848"}]},{"featureType":"administrative.neighborhood","elementType":"labels.text.stroke","stylers":[{"color":"#ff0000"},{"visibility":"off"}]},{"featureType":"administrative.land_parcel","elementType":"all","stylers":[{"lightness":"-3"}]},{"featureType":"landscape","elementType":"all","stylers":[{"saturation":-100},{"lightness":"72"},{"visibility":"on"}]},{"featureType":"landscape","elementType":"labels","stylers":[{"lightness":"23"}]},{"featureType":"poi","elementType":"all","stylers":[{"saturation":-100},{"lightness":"30"},{"visibility":"off"}]},{"featureType":"road","elementType":"all","stylers":[{"lightness":"-19"}]},{"featureType":"road","elementType":"geometry","stylers":[{"lightness":"2"},{"gamma":"1.21"}]},{"featureType":"road","elementType":"geometry.stroke","stylers":[{"visibility":"off"},{"saturation":"15"},{"hue":"#ff0000"}]},{"featureType":"road","elementType":"labels","stylers":[{"lightness":"-43"}]},{"featureType":"road","elementType":"labels.text","stylers":[{"visibility":"on"},{"lightness":"22"}]},{"featureType":"road","elementType":"labels.text.fill","stylers":[{"weight":"0.12"},{"lightness":"-23"},{"visibility":"on"}]},{"featureType":"road","elementType":"labels.text.stroke","stylers":[{"visibility":"off"},{"lightness":"71"}]},{"featureType":"road","elementType":"labels.icon","stylers":[{"visibility":"on"}]},{"featureType":"road.highway","elementType":"all","stylers":[{"saturation":-100},{"visibility":"simplified"}]},{"featureType":"road.arterial","elementType":"all","stylers":[{"saturation":-100},{"lightness":30},{"visibility":"on"}]},{"featureType":"road.local","elementType":"all","stylers":[{"saturation":-100},{"lightness":40},{"visibility":"on"}]},{"featureType":"transit","elementType":"all","stylers":[{"saturation":-100},{"visibility":"simplified"}]},{"featureType":"transit","elementType":"geometry.fill","stylers":[{"saturation":"5"},{"visibility":"on"},{"lightness":"5"}]},{"featureType":"water","elementType":"geometry","stylers":[{"hue":"#ffff00"},{"lightness":"-24"},{"saturation":-97}]},{"featureType":"water","elementType":"geometry.fill","stylers":[{"saturation":"-88"},{"lightness":"-23"},{"visibility":"on"}]},{"featureType":"water","elementType":"labels","stylers":[{"visibility":"on"},{"lightness":-25},{"saturation":-100}]},{"featureType":"water","elementType":"labels.text","stylers":[{"weight":"0.01"},{"lightness":"9"}]},{"featureType":"water","elementType":"labels.text.fill","stylers":[{"lightness":"-32"},{"gamma":"2.99"}]}] }; // Get the HTML DOM element that will contain your map // We are using a div with id="map" seen below in the <body> var mapElement = data.mapEl; // Create the Google Map using our element and options defined above var map = new google.maps.Map(mapElement, mapOptions); // Let's also add a marker while we're at it var marker1 = new google.maps.Marker({ position: new google.maps.LatLng(data.lat, data.lng), map: map, title: data.title }); } })(document, { lng: typeof(troniny_lng) != "undefined" ? troniny_lng : 19.0842433, lat: typeof(troniny_lat) != "undefined" ? troniny_lat : 50.784816, title: typeof(troniny_pin) != "undefined" ? troniny_pin : "Troniny", mapEl: typeof(mapElement) != "undefined" ? mapElement : document.getElementById('map') });
[-] jquery.mousewheel.min.js
[edit]
[-] basic.js
[edit]
[+]
..
[+]
leaflet
[-] lightgallery.js
[edit]
[+]
hypher-languages
[-] lightgallery-all.js
[edit]
[-] lightslider.min.js
[edit]
[-] videobox.min.js
[edit]
[-] jquery.magnific-popup.min.js
[edit]
[-] main.js
[edit]
[-] jquery.bgImgCrossFader.js
[edit]
[-] lightgallery-all.min.js
[edit]
[-] jquery-3.3.1.min.js
[edit]
[-] jquery.marquee.min.js
[edit]
[-] imagesloaded.pkgd.min.js
[edit]
[-] lightbox.js
[edit]
[-] lightgallery.min.js
[edit]
[-] jquery.hypher.js
[edit]
[-] masonry.pkgd.min.js
[edit]
[-] jquery.slicknav.min.js
[edit]
[-] cookies.js
[edit]
[-] google-map.js
[edit]
[-] webfont-1.6.26.min.js
[edit]
[-] html5shiv.min.js
[edit]
[-] js.cookie.js
[edit]
[-] lightbox.min.js
[edit]
[-] modernizr.2.5.3.min.js
[edit]
[-] jquery.myUtilities.js
[edit]
[-] owl.carousel.min.js
[edit]