PageSourceSearch

https://chu-toulouse.fr/local/cache-js/tac_openstreetmap-minify-3745.js?1787654971

js chu-toulouse.fr collected 2026-10-02 03:00:47 UTC 1,451 bytes, 58 lines download raw bytes

1
2tarteaucitron.services.osmgis={
3"key":"osmgis",
4"type":"api",
5"name":"OpenStreetMap",
6"uri":"https://www.openstreetmap.org",
7"needConsent":true,
8"cookies":[],
9"js":function(){
10"use strict";
11var uniqIds=[],
12i;
13if(document.querySelector(".carte-gis")==null&&document.querySelector(".carte-gis-force")==null)
14return;
15if(tarteaucitron.user.osmgiscallback===undefined){
16tarteaucitron.user.osmgiscallback='tac_osmgis_callback';
17}
18tarteaucitron.addScript('spip.php?page=javascript_gis','',function(){
19tarteaucitron.fallback(['carte-gis'],function(x){
20x.classList.remove('tac_bg_fallback');
21});
22const cartes=document.querySelectorAll(".carte-gis");
23cartes.forEach(carte=>{
24const lat=carte.dataset.lat;
25const lon=carte.dataset.lon;
26const zoom=carte.dataset.zoom;
27if(lat&&lon&&zoom){
28const map_preview=new L.Map(carte,{
29scrollWheelZoom:false,
30});
31map_preview.attributionControl.setPrefix('');
32map_preview.addLayer(new L.tileLayer.provider("OpenStreetMap"));
33map_preview.setView(new L.LatLng(lat,lon),zoom);
34var data={
35"type":"FeatureCollection",
36"features":[
37{"type":"Feature",
38"geometry":{"type":"Point","coordinates":[lon,lat]},
39}
40]
41};
42var geojson=new L.geoJson('',{
43}).addTo(map_preview);
44geojson.addData(data);
45}
46});
47});
48},
49"fallback":function(){
50"use strict";
51var id='osmgis';
52tarteaucitron.fallback(['carte-gis'],function(elem){
53tarteaucitron.am_fallback_previewimg(elem);
54elem.classList.add('tac_bg_fallback');
55return tarteaucitron.engage(id);
56});
57}
58};

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.