1/* global L */ 2/* Utilitaires Leaflet partagés entre tous les scripts du thème */ 3window.BioetlocalMap = (function () { 4 'use strict'; 5 6 function addOsmTiles(map) { 7 L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { 8 attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors', 9 maxZoom: 19, 10 }).addTo(map); 11 } 12 13 function makeIcon(url, w, h) { 14 w = w || 36; 15 h = h || 36; 16 return L.icon({ 17 iconUrl: url, 18 iconSize: [w, h], 19 iconAnchor: [w / 2, h], 20 popupAnchor: [0, -h], 21 }); 22 } 23 24 return { addOsmTiles: addOsmTiles, makeIcon: makeIcon }; 25})();
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.