File manager - Edit - /home/cipherteam/htdocs/cipherteam.in/backup2609/yogi/ClientSide/js/map-script.js
Back
/* -------------------------------------------- Google Map -------------------------------------------- */ function basicmap() { // 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: 11, scrollwheel: false, // The latitude and longitude to center the map (always required) center: new google.maps.LatLng(23.694182, 90.457313), // New York // This is where you would paste any style found on Snazzy Maps. styles: [ { "featureType": "all", "elementType": "labels.text", "stylers": [ { "color": "#f8f8f8" }, { "visibility": "on" }, { "lightness": "67" } ] }, { "featureType": "all", "elementType": "labels.text.fill", "stylers": [ { "saturation": "100" }, { "color": "#ffffff" }, { "lightness": "-41" }, { "weight": "0.01" }, { "gamma": "4.10" } ] }, { "featureType": "all", "elementType": "labels.text.stroke", "stylers": [ { "visibility": "off" }, { "color": "#000000" }, { "lightness": 16 }, { "gamma": "0.00" } ] }, { "featureType": "all", "elementType": "labels.icon", "stylers": [ { "visibility": "off" } ] }, { "featureType": "administrative", "elementType": "geometry.fill", "stylers": [ { "color": "#000000" }, { "lightness": 20 } ] }, { "featureType": "administrative", "elementType": "geometry.stroke", "stylers": [ { "color": "#000000" }, { "lightness": 17 }, { "weight": 1.2 } ] }, { "featureType": "landscape", "elementType": "geometry", "stylers": [ { "color": "#000000" }, { "lightness": 20 } ] }, { "featureType": "poi", "elementType": "geometry", "stylers": [ { "color": "#000000" }, { "lightness": 21 } ] }, { "featureType": "road.highway", "elementType": "geometry.fill", "stylers": [ { "color": "#131313" }, { "lightness": 17 }, { "visibility": "on" } ] }, { "featureType": "road.highway", "elementType": "geometry.stroke", "stylers": [ { "color": "#252525" }, { "lightness": 29 }, { "weight": 0.2 }, { "visibility": "on" } ] }, { "featureType": "road.arterial", "elementType": "geometry", "stylers": [ { "color": "#000000" }, { "lightness": "17" } ] }, { "featureType": "road.local", "elementType": "geometry", "stylers": [ { "color": "#000000" }, { "lightness": "16" } ] }, { "featureType": "transit", "elementType": "geometry", "stylers": [ { "visibility": "on" } ] }, { "featureType": "transit.line", "elementType": "geometry.fill", "stylers": [ { "visibility": "on" } ] }, { "featureType": "transit.station.rail", "elementType": "labels.icon", "stylers": [ { "visibility": "on" }, { "lightness": "22" }, { "saturation": "5" }, { "gamma": "0.00" } ] }, { "featureType": "water", "elementType": "geometry", "stylers": [ { "color": "#000000" }, { "lightness": 17 } ] } ] }; // 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 = document.getElementById('contact-map'); // 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 marker = new google.maps.Marker({ position: new google.maps.LatLng(23.694182, 90.457313), map: map, title: 'Cryptox' }); } if ($('#contact-map').length != 0) { google.maps.event.addDomListener(window, 'load', basicmap); }
| ver. 1.4 |
Github
|
.
| PHP 8.2.9 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings