PageSourceSearch

https://www.061.ua/assets/a5126a56/js/map/l.control.cisGeoSearch.js?v=1790147414

js 061.ua collected 2026-09-24 18:35:30 UTC 816 bytes, 32 lines download raw bytes

1L.Control.CisGeoSearch = L.Control.GeoSearch.extend({
2    options: {
3        showMarker: false
4    },
5
6    onAdd: function (map) {
7        var result = L.Control.GeoSearch.prototype.onAdd.call(this, map);
8        result.removeChild(this._searchbox);
9        result.style.display = "none";
10
11        return result;
12    },
13
14    _processResults: function(results) {
15        this._map.fireEvent("geosearch_foundlocations", {Locations: results});
16    },
17
18    _printError: function (message) {
19        L.Control.GeoSearch.prototype._printError.call(this, message);
20        console.log(message);
21    },
22
23    getProvider: function () {
24        return this._config.provider;
25    },
26
27    setProvider: function (provider) {
28        if (undefined !== provider) {
29            this._config.provider = provider;
30        }
31    }
32});

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.