PageSourceSearch

https://consultapopular.rs.gov.br/matriz_common/versions/2.1.5/js/…tils.maps.drawing.polyfill.js?2.1.5.161.6+4

js consultapopular.rs.gov.br collected 2026-09-26 17:40:36 UTC 787 bytes, 16 lines download raw bytes

1// CORREÇÃO: Injeta o método setOptions caso ele não exista no polyfill
2if (google && google.maps && google.maps.drawing && google.maps.drawing.DrawingManager) {
3    google.maps.drawing.DrawingManager.prototype.setOptions = function(options) {
4        // Copia as novas opções para dentro do objeto
5        Object.assign(this, options);
6
7        // Se mudou o modo de desenho dinamicamente, aplica a mudança
8        if (options.drawingMode !== undefined && typeof this.setDrawingMode === 'function') {
9            this.setDrawingMode(options.drawingMode);
10        }
11        // Se alterou o mapa dinamicamente, aplica a mudança
12        if (options.map !== undefined && typeof this.setMap === 'function') {
13            this.setMap(options.map);
14        }
15    };
16}

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.