1/** 2 * Sell â Bootstrap 5 e-commerce template v. 2.0.1 3 * Homepage: https://themes.getbootstrap.com/product/sell-bootstrap-4-e-commerce-template/ 4 * Copyright 2022, Bootstrapious - https://bootstrapious.com 5 */ 6 7'use strict'; 8 9$(function () { 10 11 if ($('#' + mapId).length > 0) { 12 13 var icon = L.icon({ 14 iconUrl: 'img/marker.png', 15 iconSize: [25, 37.5], 16 popupAnchor: [0, -18], 17 tooltipAnchor: [0, 19] 18 }); 19 20 var dragging = false, 21 tap = false; 22 23 if ($(window).width() > 700) { 24 dragging = true; 25 tap = true; 26 } 27 28 var map = L.map(mapId, { 29 center: mapCenter, 30 zoom: 13, 31 dragging: dragging, 32 tap: tap, 33 scrollWheelZoom: false 34 }); 35 36 var Stamen_TonerLite = L.tileLayer('https://stamen-tiles-{s}.a.ssl.fastly.net/toner-lite/{z}/{x}/{y}{r}.{ext}', { 37 attribution: 'Map tiles by <a href="http://stamen.com">Stamen Design</a>, <a href="http://creativecommons.org/licenses/by/3.0">CC BY 3.0</a> — Map data © <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors', 38 subdomains: 'abcd', 39 minZoom: 0, 40 maxZoom: 20, 41 ext: 'png' 42 }); 43 var CartoDB_DarkMatter = L.tileLayer('https://{s}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}{r}.png', { 44 attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors © <a href="https://carto.com/attributions">CARTO</a>', 45 subdomains: 'abcd', 46 maxZoom: 19 47 }); 48 49 Stamen_TonerLite.addTo(map); 50 51 map.once('focus', function () { 52 map.scrollWheelZoom.enable(); 53 }); 54 55 if (mapMarker) { 56 var marker = L.marker(mapCenter, { 57 icon: icon 58 }).addTo(map); 59 60 marker.bindPopup("<div class='p-4'><h5>Info Window Content</h5><p class='text-muted '>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.</p></div>", { 61 minwidth: 200, 62 maxWidth: 600, 63 className: 'map-custom-popup' 64 }) 65 66 } 67 } 68})
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.