PageSourceSearch

https://bakubuild.az/era_cms/plugins/google-map/gmap.js

js bakubuild.az collected 2026-10-01 08:21:05 UTC 1,943 bytes, 78 lines download raw bytes

1window.marker = null;
2
3function initialize() {
4  var map;
5  var latitude = $('#map_canvas').attr('data-latitude');
6  var longitude = $('#map_canvas').attr('data-longitude');
7  var nottingham = new google.maps.LatLng(latitude, longitude);
8  var style = [{
9      "featureType": "road",
10      "elementType": "geometry",
11      "stylers": [{
12          "lightness": 100
13        },
14        {
15          "visibility": "simplified"
16        }
17      ]
18    },
19    {
20      "featureType": "water",
21      "elementType": "geometry",
22      "stylers": [{
23          "visibility": "on"
24        },
25        {
26          "color": "#C6E2FF"
27        }
28      ]
29    },
30    {
31      "featureType": "poi",
32      "elementType": "geometry.fill",
33      "stylers": [{
34        "color": "#C5E3BF"
35      }]
36    },
37    {
38      "featureType": "road",
39      "elementType": "geometry.fill",
40      "stylers": [{
41        "color": "#D1D1B8"
42      }]
43    }
44  ];
45  var mapOptions = {
46    center: nottingham,
47    mapTypeId: google.maps.MapTypeId.ROADMAP,
48    backgroundColor: "#000",
49    zoom: 15,
50    panControl: false,
51    zoomControl: true,
52    mapTypeControl: false,
53    scaleControl: false,
54    streetViewControl: false,
55    overviewMapControl: false,
56    zoomControlOptions: {
57      style: google.maps.ZoomControlStyle.LARGE
58    }
59  }
60  map = new google.maps.Map(document.getElementById('map_canvas'), mapOptions);
61  var mapType = new google.maps.StyledMapType(style, {
62    name: "Grayscale"
63  });
64  map.mapTypes.set('grey', mapType);
65  map.setMapTypeId('grey');
66  var marker_image = 'plugins/google-map/images/marker.png';
67  var pinIcon = new google.maps.MarkerImage(marker_image, null, null, null, new google.maps.Size(46, 58));
68  marker = new google.maps.Marker({
69    position: nottingham,
70    map: map,
71    icon: pinIcon,
72    title: 'Bexar'
73  });
74}
75var map = document.getElementById('map_canvas');
76if (map != null) {
77  google.maps.event.addDomListener(window, 'load', initialize);
78}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.