|
| 1 | +// basemaps |
| 2 | + |
| 3 | +GeoBlacklight.Basemaps = { |
| 4 | + darkMatter: L.tileLayer( |
| 5 | + 'https://{s}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}{retina}.png', { |
| 6 | + attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors, © <a href="https://carto.com/attributions">Carto</a>', |
| 7 | + maxZoom: 18, |
| 8 | + worldCopyJump: true, |
| 9 | + retina: '@2x', |
| 10 | + detectRetina: false |
| 11 | + } |
| 12 | + ), |
| 13 | + positron: L.tileLayer( |
| 14 | + 'https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}{retina}.png', { |
| 15 | + attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors, © <a href="https://carto.com/attributions">Carto</a>', |
| 16 | + maxZoom: 18, |
| 17 | + worldCopyJump: true, |
| 18 | + retina: '@2x', |
| 19 | + detectRetina: false |
| 20 | + } |
| 21 | + ), |
| 22 | + positronLite: L.tileLayer( |
| 23 | + 'https://{s}.basemaps.cartocdn.com/light_nolabels/{z}/{x}/{y}{retina}.png', { |
| 24 | + attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors, © <a href="https://carto.com/attributions">Carto</a>', |
| 25 | + maxZoom: 18, |
| 26 | + worldCopyJump: true, |
| 27 | + retina: '@2x', |
| 28 | + detectRetina: false |
| 29 | + } |
| 30 | + ), |
| 31 | + worldAntique: L.tileLayer( |
| 32 | + 'https://cartocdn_{s}.global.ssl.fastly.net/base-antique/{z}/{x}/{y}{retina}.png', { |
| 33 | + attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors, © <a href="https://carto.com/attributions">Carto</a>', |
| 34 | + maxZoom: 18, |
| 35 | + worldCopyJump: true, |
| 36 | + retina: '@2x', |
| 37 | + detectRetina: false |
| 38 | + } |
| 39 | + ), |
| 40 | + worldEco: L.tileLayer( |
| 41 | + 'https://cartocdn_{s}.global.ssl.fastly.net/base-eco/{z}/{x}/{y}{retina}.png', { |
| 42 | + attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors, © <a href="https://carto.com/attributions">Carto</a>', |
| 43 | + maxZoom: 18, |
| 44 | + worldCopyJump: true, |
| 45 | + retina: '@2x', |
| 46 | + detectRetina: false |
| 47 | + } |
| 48 | + ), |
| 49 | + flatBlue: L.tileLayer( |
| 50 | + 'https://cartocdn_{s}.global.ssl.fastly.net/base-flatblue/{z}/{x}/{y}{retina}.png', { |
| 51 | + attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors, © <a href="https://carto.com/attributions">Carto</a>', |
| 52 | + maxZoom: 18, |
| 53 | + worldCopyJump: true, |
| 54 | + retina: '@2x', |
| 55 | + detectRetina: false |
| 56 | + } |
| 57 | + ), |
| 58 | + midnightCommander: L.tileLayer( |
| 59 | + 'https://cartocdn_{s}.global.ssl.fastly.net/base-midnight/{z}/{x}/{y}{retina}.png', { |
| 60 | + attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors, © <a href="https://carto.com/attributions">Carto</a>', |
| 61 | + maxZoom: 18, |
| 62 | + worldCopyJump: true, |
| 63 | + retina: '@2x', |
| 64 | + detectRetina: false |
| 65 | + } |
| 66 | + ) |
| 67 | +}; |
0 commit comments