PageSourceSearch

https://delftvillagestay.lk/wp-content/plugins/aloha-powerpack/js/themo-google-maps.js?ver=1791008871

js delftvillagestay.lk collected 2026-10-04 20:48:58 UTC 1,206 bytes, 35 lines download raw bytes

1jQuery(function ($) {
2    themoGoogleMapInitialize = function () {
3        $('.th-map').each(function (index, element) {
4
5            var $this = $(element);
6
7            var map = new google.maps.Map(document.getElementById($this.attr('id')), {
8                zoom: $this.data('map-zoom'),
9                center: {lat: parseFloat($this.data('map-latitude')), lng: parseFloat($this.data('map-longitude'))},
10                disableDefaultUI: true,
11                scrollwheel: $this.data('map-scroll'),
12                styles: $this.data('map-style'),
13            });
14
15        });
16
17    };
18    themoSetupGoogleMaps = function () {
19        var mapAPI = TH_MAP_KEY.map_key;
20        var mapsApiLoaded = typeof window.google !== 'undefined' && typeof window.google.maps !== 'undefined';
21        if (mapsApiLoaded) {
22            themoGoogleMapInitialize();
23        } else {
24            var apiUrl = 'https://maps.googleapis.com/maps/api/js?callback=themoGoogleMapInitialize';
25
26            if (mapAPI !== '') {
27                apiUrl += '&key=' + mapAPI;
28            }
29
30            $('body').append('<script async type="text/javascript" src="' + apiUrl + '">');
31        }
32    };
33    themoSetupGoogleMaps();
34
35});

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.