devops4lib-jekyll-theme-conference 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE.md +9 -0
- data/README.md +781 -0
- data/_includes/js/conference.js +55 -0
- data/_includes/js/init.js +39 -0
- data/_includes/js/lib/a_popper.min.js +4 -0
- data/_includes/js/lib/bootstrap.js +6 -0
- data/_includes/js/lib/jquery-3.5.1.min.js +2 -0
- data/_includes/js/lib/leaflet-easybutton.js +376 -0
- data/_includes/js/lib/leaflet-locatecontrol.js +4 -0
- data/_includes/js/lib/leaflet-providers.js +877 -0
- data/_includes/js/lib/leaflet.js +5 -0
- data/_includes/js/lib/syncscroll.js +140 -0
- data/_includes/js/live.js +779 -0
- data/_includes/js/map.js +43 -0
- data/_includes/js/modal.js +78 -0
- data/_includes/js/program.js +41 -0
- data/_includes/partials/checks.html +69 -0
- data/_includes/partials/footer.html +18 -0
- data/_includes/partials/get_day_hash.html +20 -0
- data/_includes/partials/get_day_time.html +21 -0
- data/_includes/partials/get_enable_map.html +11 -0
- data/_includes/partials/get_link.html +85 -0
- data/_includes/partials/get_link_types.html +15 -0
- data/_includes/partials/get_live_timestamps.html +49 -0
- data/_includes/partials/get_main_category.html +9 -0
- data/_includes/partials/get_page_description.html +23 -0
- data/_includes/partials/get_page_title.html +33 -0
- data/_includes/partials/get_room_live_href.html +8 -0
- data/_includes/partials/get_talk_time.html +24 -0
- data/_includes/partials/get_talk_timestamp.html +15 -0
- data/_includes/partials/get_time_pronoun.html +6 -0
- data/_includes/partials/header.html +67 -0
- data/_includes/partials/info_bar.html +38 -0
- data/_includes/partials/list_categories.html +4 -0
- data/_includes/partials/list_page_meta.html +23 -0
- data/_includes/partials/list_speakers.html +22 -0
- data/_includes/partials/list_sub_categories.html +8 -0
- data/_includes/partials/modal_link.html +21 -0
- data/_includes/partials/modal_live.html +49 -0
- data/_includes/partials/navbar.html +97 -0
- data/_includes/partials/navbar_rooms.html +36 -0
- data/_includes/partials/show_live_button.html +21 -0
- data/_includes/partials/show_room.html +5 -0
- data/_includes/partials/show_talk.html +5 -0
- data/_includes/partials/show_talk_duration.html +3 -0
- data/_includes/partials/show_talk_time.html +17 -0
- data/_layouts/config.html +78 -0
- data/_layouts/data.html +126 -0
- data/_layouts/default.html +5 -0
- data/_layouts/home.html +87 -0
- data/_layouts/location.html +25 -0
- data/_layouts/page.html +13 -0
- data/_layouts/program.html +201 -0
- data/_layouts/room.html +70 -0
- data/_layouts/speaker-overview.html +47 -0
- data/_layouts/speaker.html +111 -0
- data/_layouts/stream-overview.html +43 -0
- data/_layouts/talk-overview.html +112 -0
- data/_layouts/talk.html +123 -0
- data/_sass/bootstrap/_alert.scss +52 -0
- data/_sass/bootstrap/_badge.scss +54 -0
- data/_sass/bootstrap/_breadcrumb.scss +44 -0
- data/_sass/bootstrap/_button-group.scss +163 -0
- data/_sass/bootstrap/_buttons.scss +142 -0
- data/_sass/bootstrap/_card.scss +286 -0
- data/_sass/bootstrap/_carousel.scss +197 -0
- data/_sass/bootstrap/_close.scss +40 -0
- data/_sass/bootstrap/_code.scss +48 -0
- data/_sass/bootstrap/_custom-forms.scss +524 -0
- data/_sass/bootstrap/_dropdown.scss +192 -0
- data/_sass/bootstrap/_forms.scss +347 -0
- data/_sass/bootstrap/_functions.scss +144 -0
- data/_sass/bootstrap/_grid.scss +73 -0
- data/_sass/bootstrap/_images.scss +42 -0
- data/_sass/bootstrap/_input-group.scss +192 -0
- data/_sass/bootstrap/_jumbotron.scss +17 -0
- data/_sass/bootstrap/_list-group.scss +154 -0
- data/_sass/bootstrap/_media.scss +8 -0
- data/_sass/bootstrap/_mixins.scss +47 -0
- data/_sass/bootstrap/_modal.scss +240 -0
- data/_sass/bootstrap/_nav.scss +123 -0
- data/_sass/bootstrap/_navbar.scss +324 -0
- data/_sass/bootstrap/_pagination.scss +74 -0
- data/_sass/bootstrap/_popover.scss +170 -0
- data/_sass/bootstrap/_print.scss +141 -0
- data/_sass/bootstrap/_progress.scss +47 -0
- data/_sass/bootstrap/_reboot.scss +484 -0
- data/_sass/bootstrap/_root.scss +20 -0
- data/_sass/bootstrap/_spinners.scss +56 -0
- data/_sass/bootstrap/_tables.scss +185 -0
- data/_sass/bootstrap/_toasts.scss +46 -0
- data/_sass/bootstrap/_tooltip.scss +115 -0
- data/_sass/bootstrap/_transitions.scss +20 -0
- data/_sass/bootstrap/_type.scss +125 -0
- data/_sass/bootstrap/_utilities.scss +18 -0
- data/_sass/bootstrap/_variables.scss +1142 -0
- data/_sass/bootstrap/bootstrap-grid.scss +29 -0
- data/_sass/bootstrap/bootstrap-reboot.scss +12 -0
- data/_sass/bootstrap/bootstrap.scss +44 -0
- data/_sass/bootstrap/mixins/_alert.scss +13 -0
- data/_sass/bootstrap/mixins/_background-variant.scss +23 -0
- data/_sass/bootstrap/mixins/_badge.scss +17 -0
- data/_sass/bootstrap/mixins/_border-radius.scss +76 -0
- data/_sass/bootstrap/mixins/_box-shadow.scss +20 -0
- data/_sass/bootstrap/mixins/_breakpoints.scss +123 -0
- data/_sass/bootstrap/mixins/_buttons.scss +110 -0
- data/_sass/bootstrap/mixins/_caret.scss +62 -0
- data/_sass/bootstrap/mixins/_clearfix.scss +7 -0
- data/_sass/bootstrap/mixins/_deprecate.scss +10 -0
- data/_sass/bootstrap/mixins/_float.scss +14 -0
- data/_sass/bootstrap/mixins/_forms.scss +178 -0
- data/_sass/bootstrap/mixins/_gradients.scss +45 -0
- data/_sass/bootstrap/mixins/_grid-framework.scss +80 -0
- data/_sass/bootstrap/mixins/_grid.scss +69 -0
- data/_sass/bootstrap/mixins/_hover.scss +37 -0
- data/_sass/bootstrap/mixins/_image.scss +36 -0
- data/_sass/bootstrap/mixins/_list-group.scss +21 -0
- data/_sass/bootstrap/mixins/_lists.scss +7 -0
- data/_sass/bootstrap/mixins/_nav-divider.scss +11 -0
- data/_sass/bootstrap/mixins/_pagination.scss +22 -0
- data/_sass/bootstrap/mixins/_reset-text.scss +17 -0
- data/_sass/bootstrap/mixins/_resize.scss +6 -0
- data/_sass/bootstrap/mixins/_screen-reader.scss +34 -0
- data/_sass/bootstrap/mixins/_size.scss +7 -0
- data/_sass/bootstrap/mixins/_table-row.scss +39 -0
- data/_sass/bootstrap/mixins/_text-emphasis.scss +17 -0
- data/_sass/bootstrap/mixins/_text-hide.scss +11 -0
- data/_sass/bootstrap/mixins/_text-truncate.scss +8 -0
- data/_sass/bootstrap/mixins/_transition.scss +26 -0
- data/_sass/bootstrap/mixins/_visibility.scss +8 -0
- data/_sass/bootstrap/utilities/_align.scss +8 -0
- data/_sass/bootstrap/utilities/_background.scss +19 -0
- data/_sass/bootstrap/utilities/_borders.scss +75 -0
- data/_sass/bootstrap/utilities/_clearfix.scss +3 -0
- data/_sass/bootstrap/utilities/_display.scss +26 -0
- data/_sass/bootstrap/utilities/_embed.scss +39 -0
- data/_sass/bootstrap/utilities/_flex.scss +51 -0
- data/_sass/bootstrap/utilities/_float.scss +11 -0
- data/_sass/bootstrap/utilities/_interactions.scss +5 -0
- data/_sass/bootstrap/utilities/_overflow.scss +5 -0
- data/_sass/bootstrap/utilities/_position.scss +32 -0
- data/_sass/bootstrap/utilities/_screenreaders.scss +11 -0
- data/_sass/bootstrap/utilities/_shadows.scss +6 -0
- data/_sass/bootstrap/utilities/_sizing.scss +20 -0
- data/_sass/bootstrap/utilities/_spacing.scss +73 -0
- data/_sass/bootstrap/utilities/_stretched-link.scss +19 -0
- data/_sass/bootstrap/utilities/_text.scss +72 -0
- data/_sass/bootstrap/utilities/_visibility.scss +13 -0
- data/_sass/bootstrap/vendor/_rfs.scss +204 -0
- data/_sass/conference.scss +255 -0
- data/_sass/font-awesome/_animated.scss +20 -0
- data/_sass/font-awesome/_bordered-pulled.scss +20 -0
- data/_sass/font-awesome/_core.scss +21 -0
- data/_sass/font-awesome/_fixed-width.scss +6 -0
- data/_sass/font-awesome/_icons.scss +1462 -0
- data/_sass/font-awesome/_larger.scss +23 -0
- data/_sass/font-awesome/_list.scss +18 -0
- data/_sass/font-awesome/_mixins.scss +56 -0
- data/_sass/font-awesome/_rotated-flipped.scss +24 -0
- data/_sass/font-awesome/_screen-reader.scss +5 -0
- data/_sass/font-awesome/_shims.scss +2066 -0
- data/_sass/font-awesome/_stacked.scss +31 -0
- data/_sass/font-awesome/_variables.scss +1479 -0
- data/_sass/font-awesome/brands.scss +23 -0
- data/_sass/font-awesome/fontawesome.scss +16 -0
- data/_sass/font-awesome/regular.scss +23 -0
- data/_sass/font-awesome/scss/_animated.scss +20 -0
- data/_sass/font-awesome/scss/_bordered-pulled.scss +20 -0
- data/_sass/font-awesome/scss/_core.scss +21 -0
- data/_sass/font-awesome/scss/_fixed-width.scss +6 -0
- data/_sass/font-awesome/scss/_icons.scss +1441 -0
- data/_sass/font-awesome/scss/_larger.scss +23 -0
- data/_sass/font-awesome/scss/_list.scss +18 -0
- data/_sass/font-awesome/scss/_mixins.scss +56 -0
- data/_sass/font-awesome/scss/_rotated-flipped.scss +24 -0
- data/_sass/font-awesome/scss/_screen-reader.scss +5 -0
- data/_sass/font-awesome/scss/_shims.scss +2066 -0
- data/_sass/font-awesome/scss/_stacked.scss +31 -0
- data/_sass/font-awesome/scss/_variables.scss +1458 -0
- data/_sass/font-awesome/scss/brands.scss +23 -0
- data/_sass/font-awesome/scss/fontawesome.scss +16 -0
- data/_sass/font-awesome/scss/regular.scss +23 -0
- data/_sass/font-awesome/scss/solid.scss +24 -0
- data/_sass/font-awesome/scss/v4-shims.scss +6 -0
- data/_sass/font-awesome/solid.scss +24 -0
- data/_sass/font-awesome/v4-shims.scss +6 -0
- data/_sass/leaflet/leaflet-easybutton.scss +56 -0
- data/_sass/leaflet/leaflet-locatecontrol.scss +2 -0
- data/_sass/leaflet/leaflet.scss +640 -0
- data/assets/css/main.scss +6 -0
- data/assets/icons/live.svg +57 -0
- data/assets/js/config.json +3 -0
- data/assets/js/data.json +3 -0
- data/assets/js/main.js +4 -0
- data/assets/webfonts/fa-brands-400.eot +0 -0
- data/assets/webfonts/fa-brands-400.svg +3717 -0
- data/assets/webfonts/fa-brands-400.ttf +0 -0
- data/assets/webfonts/fa-brands-400.woff +0 -0
- data/assets/webfonts/fa-brands-400.woff2 +0 -0
- data/assets/webfonts/fa-regular-400.eot +0 -0
- data/assets/webfonts/fa-regular-400.svg +801 -0
- data/assets/webfonts/fa-regular-400.ttf +0 -0
- data/assets/webfonts/fa-regular-400.woff +0 -0
- data/assets/webfonts/fa-regular-400.woff2 +0 -0
- data/assets/webfonts/fa-solid-900.eot +0 -0
- data/assets/webfonts/fa-solid-900.svg +5028 -0
- data/assets/webfonts/fa-solid-900.ttf +0 -0
- data/assets/webfonts/fa-solid-900.woff +0 -0
- data/assets/webfonts/fa-solid-900.woff2 +0 -0
- metadata +296 -0
|
@@ -0,0 +1,877 @@
|
|
|
1
|
+
(function (root, factory) {
|
|
2
|
+
if (typeof define === 'function' && define.amd) {
|
|
3
|
+
// AMD. Register as an anonymous module.
|
|
4
|
+
define(['leaflet'], factory);
|
|
5
|
+
} else if (typeof modules === 'object' && module.exports) {
|
|
6
|
+
// define a Common JS module that relies on 'leaflet'
|
|
7
|
+
module.exports = factory(require('leaflet'));
|
|
8
|
+
} else {
|
|
9
|
+
// Assume Leaflet is loaded into global object L already
|
|
10
|
+
factory(L);
|
|
11
|
+
}
|
|
12
|
+
}(this, function (L) {
|
|
13
|
+
'use strict';
|
|
14
|
+
|
|
15
|
+
L.TileLayer.Provider = L.TileLayer.extend({
|
|
16
|
+
initialize: function (arg, options) {
|
|
17
|
+
var providers = L.TileLayer.Provider.providers;
|
|
18
|
+
|
|
19
|
+
var parts = arg.split('.');
|
|
20
|
+
|
|
21
|
+
var providerName = parts[0];
|
|
22
|
+
var variantName = parts[1];
|
|
23
|
+
|
|
24
|
+
if (!providers[providerName]) {
|
|
25
|
+
throw 'No such provider (' + providerName + ')';
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
var provider = {
|
|
29
|
+
url: providers[providerName].url,
|
|
30
|
+
options: providers[providerName].options
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
// overwrite values in provider from variant.
|
|
34
|
+
if (variantName && 'variants' in providers[providerName]) {
|
|
35
|
+
if (!(variantName in providers[providerName].variants)) {
|
|
36
|
+
throw 'No such variant of ' + providerName + ' (' + variantName + ')';
|
|
37
|
+
}
|
|
38
|
+
var variant = providers[providerName].variants[variantName];
|
|
39
|
+
var variantOptions;
|
|
40
|
+
if (typeof variant === 'string') {
|
|
41
|
+
variantOptions = {
|
|
42
|
+
variant: variant
|
|
43
|
+
};
|
|
44
|
+
} else {
|
|
45
|
+
variantOptions = variant.options;
|
|
46
|
+
}
|
|
47
|
+
provider = {
|
|
48
|
+
url: variant.url || provider.url,
|
|
49
|
+
options: L.Util.extend({}, provider.options, variantOptions)
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
// replace attribution placeholders with their values from toplevel provider attribution,
|
|
54
|
+
// recursively
|
|
55
|
+
var attributionReplacer = function (attr) {
|
|
56
|
+
if (attr.indexOf('{attribution.') === -1) {
|
|
57
|
+
return attr;
|
|
58
|
+
}
|
|
59
|
+
return attr.replace(/\{attribution.(\w*)\}/g,
|
|
60
|
+
function (match, attributionName) {
|
|
61
|
+
return attributionReplacer(providers[attributionName].options.attribution);
|
|
62
|
+
}
|
|
63
|
+
);
|
|
64
|
+
};
|
|
65
|
+
provider.options.attribution = attributionReplacer(provider.options.attribution);
|
|
66
|
+
|
|
67
|
+
// Compute final options combining provider options with any user overrides
|
|
68
|
+
var layerOpts = L.Util.extend({}, provider.options, options);
|
|
69
|
+
L.TileLayer.prototype.initialize.call(this, provider.url, layerOpts);
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Definition of providers.
|
|
75
|
+
* see http://leafletjs.com/reference.html#tilelayer for options in the options map.
|
|
76
|
+
*/
|
|
77
|
+
|
|
78
|
+
L.TileLayer.Provider.providers = {
|
|
79
|
+
OpenStreetMap: {
|
|
80
|
+
url: 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
|
|
81
|
+
options: {
|
|
82
|
+
maxZoom: 19,
|
|
83
|
+
attribution:
|
|
84
|
+
'© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
|
|
85
|
+
},
|
|
86
|
+
variants: {
|
|
87
|
+
Mapnik: {},
|
|
88
|
+
DE: {
|
|
89
|
+
url: 'https://{s}.tile.openstreetmap.de/tiles/osmde/{z}/{x}/{y}.png',
|
|
90
|
+
options: {
|
|
91
|
+
maxZoom: 18
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
CH: {
|
|
95
|
+
url: 'https://tile.osm.ch/switzerland/{z}/{x}/{y}.png',
|
|
96
|
+
options: {
|
|
97
|
+
maxZoom: 18,
|
|
98
|
+
bounds: [[45, 5], [48, 11]]
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
France: {
|
|
102
|
+
url: 'https://{s}.tile.openstreetmap.fr/osmfr/{z}/{x}/{y}.png',
|
|
103
|
+
options: {
|
|
104
|
+
maxZoom: 20,
|
|
105
|
+
attribution: '© Openstreetmap France | {attribution.OpenStreetMap}'
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
HOT: {
|
|
109
|
+
url: 'https://{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png',
|
|
110
|
+
options: {
|
|
111
|
+
attribution:
|
|
112
|
+
'{attribution.OpenStreetMap}, ' +
|
|
113
|
+
'Tiles style by <a href="https://www.hotosm.org/" target="_blank">Humanitarian OpenStreetMap Team</a> ' +
|
|
114
|
+
'hosted by <a href="https://openstreetmap.fr/" target="_blank">OpenStreetMap France</a>'
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
BZH: {
|
|
118
|
+
url: 'https://tile.openstreetmap.bzh/br/{z}/{x}/{y}.png',
|
|
119
|
+
options: {
|
|
120
|
+
attribution: '{attribution.OpenStreetMap}, Tiles courtesy of <a href="http://www.openstreetmap.bzh/" target="_blank">Breton OpenStreetMap Team</a>',
|
|
121
|
+
bounds: [[46.2, -5.5], [50, 0.7]]
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
OpenSeaMap: {
|
|
127
|
+
url: 'https://tiles.openseamap.org/seamark/{z}/{x}/{y}.png',
|
|
128
|
+
options: {
|
|
129
|
+
attribution: 'Map data: © <a href="http://www.openseamap.org">OpenSeaMap</a> contributors'
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
OpenPtMap: {
|
|
133
|
+
url: 'http://openptmap.org/tiles/{z}/{x}/{y}.png',
|
|
134
|
+
options: {
|
|
135
|
+
maxZoom: 17,
|
|
136
|
+
attribution: 'Map data: © <a href="http://www.openptmap.org">OpenPtMap</a> contributors'
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
OpenTopoMap: {
|
|
140
|
+
url: 'https://{s}.tile.opentopomap.org/{z}/{x}/{y}.png',
|
|
141
|
+
options: {
|
|
142
|
+
maxZoom: 17,
|
|
143
|
+
attribution: 'Map data: {attribution.OpenStreetMap}, <a href="http://viewfinderpanoramas.org">SRTM</a> | Map style: © <a href="https://opentopomap.org">OpenTopoMap</a> (<a href="https://creativecommons.org/licenses/by-sa/3.0/">CC-BY-SA</a>)'
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
OpenRailwayMap: {
|
|
147
|
+
url: 'https://{s}.tiles.openrailwaymap.org/standard/{z}/{x}/{y}.png',
|
|
148
|
+
options: {
|
|
149
|
+
maxZoom: 19,
|
|
150
|
+
attribution: 'Map data: {attribution.OpenStreetMap} | Map style: © <a href="https://www.OpenRailwayMap.org">OpenRailwayMap</a> (<a href="https://creativecommons.org/licenses/by-sa/3.0/">CC-BY-SA</a>)'
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
OpenFireMap: {
|
|
154
|
+
url: 'http://openfiremap.org/hytiles/{z}/{x}/{y}.png',
|
|
155
|
+
options: {
|
|
156
|
+
maxZoom: 19,
|
|
157
|
+
attribution: 'Map data: {attribution.OpenStreetMap} | Map style: © <a href="http://www.openfiremap.org">OpenFireMap</a> (<a href="https://creativecommons.org/licenses/by-sa/3.0/">CC-BY-SA</a>)'
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
SafeCast: {
|
|
161
|
+
url: 'https://s3.amazonaws.com/te512.safecast.org/{z}/{x}/{y}.png',
|
|
162
|
+
options: {
|
|
163
|
+
maxZoom: 16,
|
|
164
|
+
attribution: 'Map data: {attribution.OpenStreetMap} | Map style: © <a href="https://blog.safecast.org/about/">SafeCast</a> (<a href="https://creativecommons.org/licenses/by-sa/3.0/">CC-BY-SA</a>)'
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
Thunderforest: {
|
|
168
|
+
url: 'https://{s}.tile.thunderforest.com/{variant}/{z}/{x}/{y}.png?apikey={apikey}',
|
|
169
|
+
options: {
|
|
170
|
+
attribution:
|
|
171
|
+
'© <a href="http://www.thunderforest.com/">Thunderforest</a>, {attribution.OpenStreetMap}',
|
|
172
|
+
variant: 'cycle',
|
|
173
|
+
apikey: '<insert your api key here>',
|
|
174
|
+
maxZoom: 22
|
|
175
|
+
},
|
|
176
|
+
variants: {
|
|
177
|
+
OpenCycleMap: 'cycle',
|
|
178
|
+
Transport: {
|
|
179
|
+
options: {
|
|
180
|
+
variant: 'transport'
|
|
181
|
+
}
|
|
182
|
+
},
|
|
183
|
+
TransportDark: {
|
|
184
|
+
options: {
|
|
185
|
+
variant: 'transport-dark'
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
SpinalMap: {
|
|
189
|
+
options: {
|
|
190
|
+
variant: 'spinal-map'
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
Landscape: 'landscape',
|
|
194
|
+
Outdoors: 'outdoors',
|
|
195
|
+
Pioneer: 'pioneer',
|
|
196
|
+
MobileAtlas: 'mobile-atlas',
|
|
197
|
+
Neighbourhood: 'neighbourhood'
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
CyclOSM: {
|
|
201
|
+
url: 'https://dev.{s}.tile.openstreetmap.fr/cyclosm/{z}/{x}/{y}.png',
|
|
202
|
+
options: {
|
|
203
|
+
maxZoom: 20,
|
|
204
|
+
attribution: '<a href="https://github.com/cyclosm/cyclosm-cartocss-style/releases" title="CyclOSM - Open Bicycle render">CyclOSM</a> | Map data: {attribution.OpenStreetMap}'
|
|
205
|
+
}
|
|
206
|
+
},
|
|
207
|
+
OpenMapSurfer: {
|
|
208
|
+
url: 'https://maps.heigit.org/openmapsurfer/tiles/{variant}/webmercator/{z}/{x}/{y}.png',
|
|
209
|
+
options: {
|
|
210
|
+
maxZoom: 19,
|
|
211
|
+
variant: 'roads',
|
|
212
|
+
attribution: 'Imagery from <a href="http://giscience.uni-hd.de/">GIScience Research Group @ University of Heidelberg</a> | Map data '
|
|
213
|
+
},
|
|
214
|
+
variants: {
|
|
215
|
+
Roads: {
|
|
216
|
+
options: {
|
|
217
|
+
variant: 'roads',
|
|
218
|
+
attribution: '{attribution.OpenMapSurfer}{attribution.OpenStreetMap}'
|
|
219
|
+
}
|
|
220
|
+
},
|
|
221
|
+
Hybrid: {
|
|
222
|
+
options: {
|
|
223
|
+
variant: 'hybrid',
|
|
224
|
+
attribution: '{attribution.OpenMapSurfer}{attribution.OpenStreetMap}'
|
|
225
|
+
}
|
|
226
|
+
},
|
|
227
|
+
AdminBounds: {
|
|
228
|
+
options: {
|
|
229
|
+
variant: 'adminb',
|
|
230
|
+
maxZoom: 18,
|
|
231
|
+
attribution: '{attribution.OpenMapSurfer}{attribution.OpenStreetMap}'
|
|
232
|
+
}
|
|
233
|
+
},
|
|
234
|
+
ContourLines: {
|
|
235
|
+
options: {
|
|
236
|
+
variant: 'asterc',
|
|
237
|
+
maxZoom: 18,
|
|
238
|
+
minZoom: 13,
|
|
239
|
+
attribution: '{attribution.OpenMapSurfer} <a href="https://lpdaac.usgs.gov/products/aster_policies">ASTER GDEM</a>'
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
Hillshade: {
|
|
243
|
+
options: {
|
|
244
|
+
variant: 'asterh',
|
|
245
|
+
maxZoom: 18,
|
|
246
|
+
attribution: '{attribution.OpenMapSurfer} <a href="https://lpdaac.usgs.gov/products/aster_policies">ASTER GDEM</a>, <a href="http://srtm.csi.cgiar.org/">SRTM</a>'
|
|
247
|
+
}
|
|
248
|
+
},
|
|
249
|
+
ElementsAtRisk: {
|
|
250
|
+
options: {
|
|
251
|
+
variant: 'elements_at_risk',
|
|
252
|
+
attribution: '{attribution.OpenMapSurfer}{attribution.OpenStreetMap}'
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
},
|
|
257
|
+
Hydda: {
|
|
258
|
+
url: 'https://{s}.tile.openstreetmap.se/hydda/{variant}/{z}/{x}/{y}.png',
|
|
259
|
+
options: {
|
|
260
|
+
maxZoom: 18,
|
|
261
|
+
variant: 'full',
|
|
262
|
+
attribution: 'Tiles courtesy of <a href="http://openstreetmap.se/" target="_blank">OpenStreetMap Sweden</a> — Map data {attribution.OpenStreetMap}'
|
|
263
|
+
},
|
|
264
|
+
variants: {
|
|
265
|
+
Full: 'full',
|
|
266
|
+
Base: 'base',
|
|
267
|
+
RoadsAndLabels: 'roads_and_labels'
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
MapBox: {
|
|
271
|
+
url: 'https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}{r}.png?access_token={accessToken}',
|
|
272
|
+
options: {
|
|
273
|
+
attribution:
|
|
274
|
+
'<a href="https://www.mapbox.com/about/maps/" target="_blank">© Mapbox</a> ' +
|
|
275
|
+
'{attribution.OpenStreetMap} ' +
|
|
276
|
+
'<a href="https://www.mapbox.com/map-feedback/" target="_blank">Improve this map</a>',
|
|
277
|
+
subdomains: 'abcd',
|
|
278
|
+
id: 'mapbox.streets',
|
|
279
|
+
accessToken: '<insert your access token here>',
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
Stamen: {
|
|
283
|
+
url: 'https://stamen-tiles-{s}.a.ssl.fastly.net/{variant}/{z}/{x}/{y}{r}.{ext}',
|
|
284
|
+
options: {
|
|
285
|
+
attribution:
|
|
286
|
+
'Map tiles by <a href="http://stamen.com">Stamen Design</a>, ' +
|
|
287
|
+
'<a href="http://creativecommons.org/licenses/by/3.0">CC BY 3.0</a> — ' +
|
|
288
|
+
'Map data {attribution.OpenStreetMap}',
|
|
289
|
+
subdomains: 'abcd',
|
|
290
|
+
minZoom: 0,
|
|
291
|
+
maxZoom: 20,
|
|
292
|
+
variant: 'toner',
|
|
293
|
+
ext: 'png'
|
|
294
|
+
},
|
|
295
|
+
variants: {
|
|
296
|
+
Toner: 'toner',
|
|
297
|
+
TonerBackground: 'toner-background',
|
|
298
|
+
TonerHybrid: 'toner-hybrid',
|
|
299
|
+
TonerLines: 'toner-lines',
|
|
300
|
+
TonerLabels: 'toner-labels',
|
|
301
|
+
TonerLite: 'toner-lite',
|
|
302
|
+
Watercolor: {
|
|
303
|
+
url: 'https://stamen-tiles-{s}.a.ssl.fastly.net/{variant}/{z}/{x}/{y}.{ext}',
|
|
304
|
+
options: {
|
|
305
|
+
variant: 'watercolor',
|
|
306
|
+
ext: 'jpg',
|
|
307
|
+
minZoom: 1,
|
|
308
|
+
maxZoom: 16
|
|
309
|
+
}
|
|
310
|
+
},
|
|
311
|
+
Terrain: {
|
|
312
|
+
options: {
|
|
313
|
+
variant: 'terrain',
|
|
314
|
+
minZoom: 0,
|
|
315
|
+
maxZoom: 18
|
|
316
|
+
}
|
|
317
|
+
},
|
|
318
|
+
TerrainBackground: {
|
|
319
|
+
options: {
|
|
320
|
+
variant: 'terrain-background',
|
|
321
|
+
minZoom: 0,
|
|
322
|
+
maxZoom: 18
|
|
323
|
+
}
|
|
324
|
+
},
|
|
325
|
+
TerrainLabels: {
|
|
326
|
+
options: {
|
|
327
|
+
variant: 'terrain-labels',
|
|
328
|
+
minZoom: 0,
|
|
329
|
+
maxZoom: 18
|
|
330
|
+
}
|
|
331
|
+
},
|
|
332
|
+
TopOSMRelief: {
|
|
333
|
+
url: 'https://stamen-tiles-{s}.a.ssl.fastly.net/{variant}/{z}/{x}/{y}.{ext}',
|
|
334
|
+
options: {
|
|
335
|
+
variant: 'toposm-color-relief',
|
|
336
|
+
ext: 'jpg',
|
|
337
|
+
bounds: [[22, -132], [51, -56]]
|
|
338
|
+
}
|
|
339
|
+
},
|
|
340
|
+
TopOSMFeatures: {
|
|
341
|
+
options: {
|
|
342
|
+
variant: 'toposm-features',
|
|
343
|
+
bounds: [[22, -132], [51, -56]],
|
|
344
|
+
opacity: 0.9
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
},
|
|
349
|
+
TomTom: {
|
|
350
|
+
url: 'https://{s}.api.tomtom.com/map/1/tile/{variant}/{style}/{z}/{x}/{y}.{ext}?key={apikey}',
|
|
351
|
+
options: {
|
|
352
|
+
variant: 'basic',
|
|
353
|
+
maxZoom: 22,
|
|
354
|
+
attribution:
|
|
355
|
+
'<a href="https://tomtom.com" target="_blank">© 1992 - ' + new Date().getFullYear() + ' TomTom.</a> ',
|
|
356
|
+
subdomains: 'abcd',
|
|
357
|
+
style: 'main',
|
|
358
|
+
ext: 'png',
|
|
359
|
+
apikey: '<insert your API key here>',
|
|
360
|
+
},
|
|
361
|
+
variants: {
|
|
362
|
+
Basic: 'basic',
|
|
363
|
+
Hybrid: 'hybrid',
|
|
364
|
+
Labels: 'labels'
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
Esri: {
|
|
368
|
+
url: 'https://server.arcgisonline.com/ArcGIS/rest/services/{variant}/MapServer/tile/{z}/{y}/{x}',
|
|
369
|
+
options: {
|
|
370
|
+
variant: 'World_Street_Map',
|
|
371
|
+
attribution: 'Tiles © Esri'
|
|
372
|
+
},
|
|
373
|
+
variants: {
|
|
374
|
+
WorldStreetMap: {
|
|
375
|
+
options: {
|
|
376
|
+
attribution:
|
|
377
|
+
'{attribution.Esri} — ' +
|
|
378
|
+
'Source: Esri, DeLorme, NAVTEQ, USGS, Intermap, iPC, NRCAN, Esri Japan, METI, Esri China (Hong Kong), Esri (Thailand), TomTom, 2012'
|
|
379
|
+
}
|
|
380
|
+
},
|
|
381
|
+
DeLorme: {
|
|
382
|
+
options: {
|
|
383
|
+
variant: 'Specialty/DeLorme_World_Base_Map',
|
|
384
|
+
minZoom: 1,
|
|
385
|
+
maxZoom: 11,
|
|
386
|
+
attribution: '{attribution.Esri} — Copyright: ©2012 DeLorme'
|
|
387
|
+
}
|
|
388
|
+
},
|
|
389
|
+
WorldTopoMap: {
|
|
390
|
+
options: {
|
|
391
|
+
variant: 'World_Topo_Map',
|
|
392
|
+
attribution:
|
|
393
|
+
'{attribution.Esri} — ' +
|
|
394
|
+
'Esri, DeLorme, NAVTEQ, TomTom, Intermap, iPC, USGS, FAO, NPS, NRCAN, GeoBase, Kadaster NL, Ordnance Survey, Esri Japan, METI, Esri China (Hong Kong), and the GIS User Community'
|
|
395
|
+
}
|
|
396
|
+
},
|
|
397
|
+
WorldImagery: {
|
|
398
|
+
options: {
|
|
399
|
+
variant: 'World_Imagery',
|
|
400
|
+
attribution:
|
|
401
|
+
'{attribution.Esri} — ' +
|
|
402
|
+
'Source: Esri, i-cubed, USDA, USGS, AEX, GeoEye, Getmapping, Aerogrid, IGN, IGP, UPR-EGP, and the GIS User Community'
|
|
403
|
+
}
|
|
404
|
+
},
|
|
405
|
+
WorldTerrain: {
|
|
406
|
+
options: {
|
|
407
|
+
variant: 'World_Terrain_Base',
|
|
408
|
+
maxZoom: 13,
|
|
409
|
+
attribution:
|
|
410
|
+
'{attribution.Esri} — ' +
|
|
411
|
+
'Source: USGS, Esri, TANA, DeLorme, and NPS'
|
|
412
|
+
}
|
|
413
|
+
},
|
|
414
|
+
WorldShadedRelief: {
|
|
415
|
+
options: {
|
|
416
|
+
variant: 'World_Shaded_Relief',
|
|
417
|
+
maxZoom: 13,
|
|
418
|
+
attribution: '{attribution.Esri} — Source: Esri'
|
|
419
|
+
}
|
|
420
|
+
},
|
|
421
|
+
WorldPhysical: {
|
|
422
|
+
options: {
|
|
423
|
+
variant: 'World_Physical_Map',
|
|
424
|
+
maxZoom: 8,
|
|
425
|
+
attribution: '{attribution.Esri} — Source: US National Park Service'
|
|
426
|
+
}
|
|
427
|
+
},
|
|
428
|
+
OceanBasemap: {
|
|
429
|
+
options: {
|
|
430
|
+
variant: 'Ocean_Basemap',
|
|
431
|
+
maxZoom: 13,
|
|
432
|
+
attribution: '{attribution.Esri} — Sources: GEBCO, NOAA, CHS, OSU, UNH, CSUMB, National Geographic, DeLorme, NAVTEQ, and Esri'
|
|
433
|
+
}
|
|
434
|
+
},
|
|
435
|
+
NatGeoWorldMap: {
|
|
436
|
+
options: {
|
|
437
|
+
variant: 'NatGeo_World_Map',
|
|
438
|
+
maxZoom: 16,
|
|
439
|
+
attribution: '{attribution.Esri} — National Geographic, Esri, DeLorme, NAVTEQ, UNEP-WCMC, USGS, NASA, ESA, METI, NRCAN, GEBCO, NOAA, iPC'
|
|
440
|
+
}
|
|
441
|
+
},
|
|
442
|
+
WorldGrayCanvas: {
|
|
443
|
+
options: {
|
|
444
|
+
variant: 'Canvas/World_Light_Gray_Base',
|
|
445
|
+
maxZoom: 16,
|
|
446
|
+
attribution: '{attribution.Esri} — Esri, DeLorme, NAVTEQ'
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
},
|
|
451
|
+
OpenWeatherMap: {
|
|
452
|
+
url: 'http://{s}.tile.openweathermap.org/map/{variant}/{z}/{x}/{y}.png?appid={apiKey}',
|
|
453
|
+
options: {
|
|
454
|
+
maxZoom: 19,
|
|
455
|
+
attribution: 'Map data © <a href="http://openweathermap.org">OpenWeatherMap</a>',
|
|
456
|
+
apiKey:'<insert your api key here>',
|
|
457
|
+
opacity: 0.5
|
|
458
|
+
},
|
|
459
|
+
variants: {
|
|
460
|
+
Clouds: 'clouds',
|
|
461
|
+
CloudsClassic: 'clouds_cls',
|
|
462
|
+
Precipitation: 'precipitation',
|
|
463
|
+
PrecipitationClassic: 'precipitation_cls',
|
|
464
|
+
Rain: 'rain',
|
|
465
|
+
RainClassic: 'rain_cls',
|
|
466
|
+
Pressure: 'pressure',
|
|
467
|
+
PressureContour: 'pressure_cntr',
|
|
468
|
+
Wind: 'wind',
|
|
469
|
+
Temperature: 'temp',
|
|
470
|
+
Snow: 'snow'
|
|
471
|
+
}
|
|
472
|
+
},
|
|
473
|
+
HERE: {
|
|
474
|
+
/*
|
|
475
|
+
* HERE maps, formerly Nokia maps.
|
|
476
|
+
* These basemaps are free, but you need an API key. Please sign up at
|
|
477
|
+
* https://developer.here.com/plans
|
|
478
|
+
*/
|
|
479
|
+
url:
|
|
480
|
+
'https://{s}.{base}.maps.api.here.com/maptile/2.1/' +
|
|
481
|
+
'{type}/{mapID}/{variant}/{z}/{x}/{y}/{size}/{format}?' +
|
|
482
|
+
'app_id={app_id}&app_code={app_code}&lg={language}',
|
|
483
|
+
options: {
|
|
484
|
+
attribution:
|
|
485
|
+
'Map © 1987-' + new Date().getFullYear() + ' <a href="http://developer.here.com">HERE</a>',
|
|
486
|
+
subdomains: '1234',
|
|
487
|
+
mapID: 'newest',
|
|
488
|
+
'app_id': '<insert your app_id here>',
|
|
489
|
+
'app_code': '<insert your app_code here>',
|
|
490
|
+
base: 'base',
|
|
491
|
+
variant: 'normal.day',
|
|
492
|
+
maxZoom: 20,
|
|
493
|
+
type: 'maptile',
|
|
494
|
+
language: 'eng',
|
|
495
|
+
format: 'png8',
|
|
496
|
+
size: '256'
|
|
497
|
+
},
|
|
498
|
+
variants: {
|
|
499
|
+
normalDay: 'normal.day',
|
|
500
|
+
normalDayCustom: 'normal.day.custom',
|
|
501
|
+
normalDayGrey: 'normal.day.grey',
|
|
502
|
+
normalDayMobile: 'normal.day.mobile',
|
|
503
|
+
normalDayGreyMobile: 'normal.day.grey.mobile',
|
|
504
|
+
normalDayTransit: 'normal.day.transit',
|
|
505
|
+
normalDayTransitMobile: 'normal.day.transit.mobile',
|
|
506
|
+
normalDayTraffic: {
|
|
507
|
+
options: {
|
|
508
|
+
variant: 'normal.traffic.day',
|
|
509
|
+
base: 'traffic',
|
|
510
|
+
type: 'traffictile'
|
|
511
|
+
}
|
|
512
|
+
},
|
|
513
|
+
normalNight: 'normal.night',
|
|
514
|
+
normalNightMobile: 'normal.night.mobile',
|
|
515
|
+
normalNightGrey: 'normal.night.grey',
|
|
516
|
+
normalNightGreyMobile: 'normal.night.grey.mobile',
|
|
517
|
+
normalNightTransit: 'normal.night.transit',
|
|
518
|
+
normalNightTransitMobile: 'normal.night.transit.mobile',
|
|
519
|
+
reducedDay: 'reduced.day',
|
|
520
|
+
reducedNight: 'reduced.night',
|
|
521
|
+
basicMap: {
|
|
522
|
+
options: {
|
|
523
|
+
type: 'basetile'
|
|
524
|
+
}
|
|
525
|
+
},
|
|
526
|
+
mapLabels: {
|
|
527
|
+
options: {
|
|
528
|
+
type: 'labeltile',
|
|
529
|
+
format: 'png'
|
|
530
|
+
}
|
|
531
|
+
},
|
|
532
|
+
trafficFlow: {
|
|
533
|
+
options: {
|
|
534
|
+
base: 'traffic',
|
|
535
|
+
type: 'flowtile'
|
|
536
|
+
}
|
|
537
|
+
},
|
|
538
|
+
carnavDayGrey: 'carnav.day.grey',
|
|
539
|
+
hybridDay: {
|
|
540
|
+
options: {
|
|
541
|
+
base: 'aerial',
|
|
542
|
+
variant: 'hybrid.day'
|
|
543
|
+
}
|
|
544
|
+
},
|
|
545
|
+
hybridDayMobile: {
|
|
546
|
+
options: {
|
|
547
|
+
base: 'aerial',
|
|
548
|
+
variant: 'hybrid.day.mobile'
|
|
549
|
+
}
|
|
550
|
+
},
|
|
551
|
+
hybridDayTransit: {
|
|
552
|
+
options: {
|
|
553
|
+
base: 'aerial',
|
|
554
|
+
variant: 'hybrid.day.transit'
|
|
555
|
+
}
|
|
556
|
+
},
|
|
557
|
+
hybridDayGrey: {
|
|
558
|
+
options: {
|
|
559
|
+
base: 'aerial',
|
|
560
|
+
variant: 'hybrid.grey.day'
|
|
561
|
+
}
|
|
562
|
+
},
|
|
563
|
+
hybridDayTraffic: {
|
|
564
|
+
options: {
|
|
565
|
+
variant: 'hybrid.traffic.day',
|
|
566
|
+
base: 'traffic',
|
|
567
|
+
type: 'traffictile'
|
|
568
|
+
}
|
|
569
|
+
},
|
|
570
|
+
pedestrianDay: 'pedestrian.day',
|
|
571
|
+
pedestrianNight: 'pedestrian.night',
|
|
572
|
+
satelliteDay: {
|
|
573
|
+
options: {
|
|
574
|
+
base: 'aerial',
|
|
575
|
+
variant: 'satellite.day'
|
|
576
|
+
}
|
|
577
|
+
},
|
|
578
|
+
terrainDay: {
|
|
579
|
+
options: {
|
|
580
|
+
base: 'aerial',
|
|
581
|
+
variant: 'terrain.day'
|
|
582
|
+
}
|
|
583
|
+
},
|
|
584
|
+
terrainDayMobile: {
|
|
585
|
+
options: {
|
|
586
|
+
base: 'aerial',
|
|
587
|
+
variant: 'terrain.day.mobile'
|
|
588
|
+
}
|
|
589
|
+
}
|
|
590
|
+
}
|
|
591
|
+
},
|
|
592
|
+
FreeMapSK: {
|
|
593
|
+
url: 'http://t{s}.freemap.sk/T/{z}/{x}/{y}.jpeg',
|
|
594
|
+
options: {
|
|
595
|
+
minZoom: 8,
|
|
596
|
+
maxZoom: 16,
|
|
597
|
+
subdomains: '1234',
|
|
598
|
+
bounds: [[47.204642, 15.996093], [49.830896, 22.576904]],
|
|
599
|
+
attribution:
|
|
600
|
+
'{attribution.OpenStreetMap}, vizualization CC-By-SA 2.0 <a href="http://freemap.sk">Freemap.sk</a>'
|
|
601
|
+
}
|
|
602
|
+
},
|
|
603
|
+
MtbMap: {
|
|
604
|
+
url: 'http://tile.mtbmap.cz/mtbmap_tiles/{z}/{x}/{y}.png',
|
|
605
|
+
options: {
|
|
606
|
+
attribution:
|
|
607
|
+
'{attribution.OpenStreetMap} & USGS'
|
|
608
|
+
}
|
|
609
|
+
},
|
|
610
|
+
CartoDB: {
|
|
611
|
+
url: 'https://{s}.basemaps.cartocdn.com/{variant}/{z}/{x}/{y}{r}.png',
|
|
612
|
+
options: {
|
|
613
|
+
attribution: '{attribution.OpenStreetMap} © <a href="https://carto.com/attributions">CARTO</a>',
|
|
614
|
+
subdomains: 'abcd',
|
|
615
|
+
maxZoom: 19,
|
|
616
|
+
variant: 'light_all'
|
|
617
|
+
},
|
|
618
|
+
variants: {
|
|
619
|
+
Positron: 'light_all',
|
|
620
|
+
PositronNoLabels: 'light_nolabels',
|
|
621
|
+
PositronOnlyLabels: 'light_only_labels',
|
|
622
|
+
DarkMatter: 'dark_all',
|
|
623
|
+
DarkMatterNoLabels: 'dark_nolabels',
|
|
624
|
+
DarkMatterOnlyLabels: 'dark_only_labels',
|
|
625
|
+
Voyager: 'rastertiles/voyager',
|
|
626
|
+
VoyagerNoLabels: 'rastertiles/voyager_nolabels',
|
|
627
|
+
VoyagerOnlyLabels: 'rastertiles/voyager_only_labels',
|
|
628
|
+
VoyagerLabelsUnder: 'rastertiles/voyager_labels_under'
|
|
629
|
+
}
|
|
630
|
+
},
|
|
631
|
+
HikeBike: {
|
|
632
|
+
url: 'https://tiles.wmflabs.org/{variant}/{z}/{x}/{y}.png',
|
|
633
|
+
options: {
|
|
634
|
+
maxZoom: 19,
|
|
635
|
+
attribution: '{attribution.OpenStreetMap}',
|
|
636
|
+
variant: 'hikebike'
|
|
637
|
+
},
|
|
638
|
+
variants: {
|
|
639
|
+
HikeBike: {},
|
|
640
|
+
HillShading: {
|
|
641
|
+
options: {
|
|
642
|
+
maxZoom: 15,
|
|
643
|
+
variant: 'hillshading'
|
|
644
|
+
}
|
|
645
|
+
}
|
|
646
|
+
}
|
|
647
|
+
},
|
|
648
|
+
BasemapAT: {
|
|
649
|
+
url: 'https://maps{s}.wien.gv.at/basemap/{variant}/{type}/google3857/{z}/{y}/{x}.{format}',
|
|
650
|
+
options: {
|
|
651
|
+
maxZoom: 19,
|
|
652
|
+
attribution: 'Datenquelle: <a href="https://www.basemap.at">basemap.at</a>',
|
|
653
|
+
subdomains: ['', '1', '2', '3', '4'],
|
|
654
|
+
type: 'normal',
|
|
655
|
+
format: 'png',
|
|
656
|
+
bounds: [[46.358770, 8.782379], [49.037872, 17.189532]],
|
|
657
|
+
variant: 'geolandbasemap'
|
|
658
|
+
},
|
|
659
|
+
variants: {
|
|
660
|
+
basemap: {
|
|
661
|
+
options: {
|
|
662
|
+
maxZoom: 20, // currently only in Vienna
|
|
663
|
+
variant: 'geolandbasemap'
|
|
664
|
+
}
|
|
665
|
+
},
|
|
666
|
+
grau: 'bmapgrau',
|
|
667
|
+
overlay: 'bmapoverlay',
|
|
668
|
+
terrain: {
|
|
669
|
+
options: {
|
|
670
|
+
variant: 'bmapgelaende',
|
|
671
|
+
type: 'grau',
|
|
672
|
+
format: 'jpeg'
|
|
673
|
+
}
|
|
674
|
+
},
|
|
675
|
+
surface: {
|
|
676
|
+
options: {
|
|
677
|
+
variant: 'bmapoberflaeche',
|
|
678
|
+
type: 'grau',
|
|
679
|
+
format: 'jpeg'
|
|
680
|
+
}
|
|
681
|
+
},
|
|
682
|
+
highdpi: {
|
|
683
|
+
options: {
|
|
684
|
+
variant: 'bmaphidpi',
|
|
685
|
+
format: 'jpeg'
|
|
686
|
+
}
|
|
687
|
+
},
|
|
688
|
+
orthofoto: {
|
|
689
|
+
options: {
|
|
690
|
+
maxZoom: 20, // currently only in Vienna
|
|
691
|
+
variant: 'bmaporthofoto30cm',
|
|
692
|
+
format: 'jpeg'
|
|
693
|
+
}
|
|
694
|
+
}
|
|
695
|
+
}
|
|
696
|
+
},
|
|
697
|
+
nlmaps: {
|
|
698
|
+
url: 'https://geodata.nationaalgeoregister.nl/tiles/service/wmts/{variant}/EPSG:3857/{z}/{x}/{y}.png',
|
|
699
|
+
options: {
|
|
700
|
+
minZoom: 6,
|
|
701
|
+
maxZoom: 19,
|
|
702
|
+
bounds: [[50.5, 3.25], [54, 7.6]],
|
|
703
|
+
attribution: 'Kaartgegevens © <a href="kadaster.nl">Kadaster</a>'
|
|
704
|
+
},
|
|
705
|
+
variants: {
|
|
706
|
+
'standaard': 'brtachtergrondkaart',
|
|
707
|
+
'pastel': 'brtachtergrondkaartpastel',
|
|
708
|
+
'grijs': 'brtachtergrondkaartgrijs',
|
|
709
|
+
'luchtfoto': {
|
|
710
|
+
'url': 'https://geodata.nationaalgeoregister.nl/luchtfoto/rgb/wmts/2018_ortho25/EPSG:3857/{z}/{x}/{y}.png',
|
|
711
|
+
}
|
|
712
|
+
}
|
|
713
|
+
},
|
|
714
|
+
NASAGIBS: {
|
|
715
|
+
url: 'https://map1.vis.earthdata.nasa.gov/wmts-webmerc/{variant}/default/{time}/{tilematrixset}{maxZoom}/{z}/{y}/{x}.{format}',
|
|
716
|
+
options: {
|
|
717
|
+
attribution:
|
|
718
|
+
'Imagery provided by services from the Global Imagery Browse Services (GIBS), operated by the NASA/GSFC/Earth Science Data and Information System ' +
|
|
719
|
+
'(<a href="https://earthdata.nasa.gov">ESDIS</a>) with funding provided by NASA/HQ.',
|
|
720
|
+
bounds: [[-85.0511287776, -179.999999975], [85.0511287776, 179.999999975]],
|
|
721
|
+
minZoom: 1,
|
|
722
|
+
maxZoom: 9,
|
|
723
|
+
format: 'jpg',
|
|
724
|
+
time: '',
|
|
725
|
+
tilematrixset: 'GoogleMapsCompatible_Level'
|
|
726
|
+
},
|
|
727
|
+
variants: {
|
|
728
|
+
ModisTerraTrueColorCR: 'MODIS_Terra_CorrectedReflectance_TrueColor',
|
|
729
|
+
ModisTerraBands367CR: 'MODIS_Terra_CorrectedReflectance_Bands367',
|
|
730
|
+
ViirsEarthAtNight2012: {
|
|
731
|
+
options: {
|
|
732
|
+
variant: 'VIIRS_CityLights_2012',
|
|
733
|
+
maxZoom: 8
|
|
734
|
+
}
|
|
735
|
+
},
|
|
736
|
+
ModisTerraLSTDay: {
|
|
737
|
+
options: {
|
|
738
|
+
variant: 'MODIS_Terra_Land_Surface_Temp_Day',
|
|
739
|
+
format: 'png',
|
|
740
|
+
maxZoom: 7,
|
|
741
|
+
opacity: 0.75
|
|
742
|
+
}
|
|
743
|
+
},
|
|
744
|
+
ModisTerraSnowCover: {
|
|
745
|
+
options: {
|
|
746
|
+
variant: 'MODIS_Terra_Snow_Cover',
|
|
747
|
+
format: 'png',
|
|
748
|
+
maxZoom: 8,
|
|
749
|
+
opacity: 0.75
|
|
750
|
+
}
|
|
751
|
+
},
|
|
752
|
+
ModisTerraAOD: {
|
|
753
|
+
options: {
|
|
754
|
+
variant: 'MODIS_Terra_Aerosol',
|
|
755
|
+
format: 'png',
|
|
756
|
+
maxZoom: 6,
|
|
757
|
+
opacity: 0.75
|
|
758
|
+
}
|
|
759
|
+
},
|
|
760
|
+
ModisTerraChlorophyll: {
|
|
761
|
+
options: {
|
|
762
|
+
variant: 'MODIS_Terra_Chlorophyll_A',
|
|
763
|
+
format: 'png',
|
|
764
|
+
maxZoom: 7,
|
|
765
|
+
opacity: 0.75
|
|
766
|
+
}
|
|
767
|
+
}
|
|
768
|
+
}
|
|
769
|
+
},
|
|
770
|
+
NLS: {
|
|
771
|
+
// NLS maps are copyright National library of Scotland.
|
|
772
|
+
// http://maps.nls.uk/projects/api/index.html
|
|
773
|
+
// Please contact NLS for anything other than non-commercial low volume usage
|
|
774
|
+
//
|
|
775
|
+
// Map sources: Ordnance Survey 1:1m to 1:63K, 1920s-1940s
|
|
776
|
+
// z0-9 - 1:1m
|
|
777
|
+
// z10-11 - quarter inch (1:253440)
|
|
778
|
+
// z12-18 - one inch (1:63360)
|
|
779
|
+
url: 'https://nls-{s}.tileserver.com/nls/{z}/{x}/{y}.jpg',
|
|
780
|
+
options: {
|
|
781
|
+
attribution: '<a href="http://geo.nls.uk/maps/">National Library of Scotland Historic Maps</a>',
|
|
782
|
+
bounds: [[49.6, -12], [61.7, 3]],
|
|
783
|
+
minZoom: 1,
|
|
784
|
+
maxZoom: 18,
|
|
785
|
+
subdomains: '0123',
|
|
786
|
+
}
|
|
787
|
+
},
|
|
788
|
+
JusticeMap: {
|
|
789
|
+
// Justice Map (http://www.justicemap.org/)
|
|
790
|
+
// Visualize race and income data for your community, county and country.
|
|
791
|
+
// Includes tools for data journalists, bloggers and community activists.
|
|
792
|
+
url: 'http://www.justicemap.org/tile/{size}/{variant}/{z}/{x}/{y}.png',
|
|
793
|
+
options: {
|
|
794
|
+
attribution: '<a href="http://www.justicemap.org/terms.php">Justice Map</a>',
|
|
795
|
+
// one of 'county', 'tract', 'block'
|
|
796
|
+
size: 'county',
|
|
797
|
+
// Bounds for USA, including Alaska and Hawaii
|
|
798
|
+
bounds: [[14, -180], [72, -56]]
|
|
799
|
+
},
|
|
800
|
+
variants: {
|
|
801
|
+
income: 'income',
|
|
802
|
+
americanIndian: 'indian',
|
|
803
|
+
asian: 'asian',
|
|
804
|
+
black: 'black',
|
|
805
|
+
hispanic: 'hispanic',
|
|
806
|
+
multi: 'multi',
|
|
807
|
+
nonWhite: 'nonwhite',
|
|
808
|
+
white: 'white',
|
|
809
|
+
plurality: 'plural'
|
|
810
|
+
}
|
|
811
|
+
},
|
|
812
|
+
Wikimedia: {
|
|
813
|
+
url: 'https://maps.wikimedia.org/osm-intl/{z}/{x}/{y}{r}.png',
|
|
814
|
+
options: {
|
|
815
|
+
attribution: '<a href="https://wikimediafoundation.org/wiki/Maps_Terms_of_Use">Wikimedia</a>',
|
|
816
|
+
minZoom: 1,
|
|
817
|
+
maxZoom: 19
|
|
818
|
+
}
|
|
819
|
+
},
|
|
820
|
+
GeoportailFrance: {
|
|
821
|
+
url: 'https://wxs.ign.fr/{apikey}/geoportail/wmts?REQUEST=GetTile&SERVICE=WMTS&VERSION=1.0.0&STYLE={style}&TILEMATRIXSET=PM&FORMAT={format}&LAYER={variant}&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}',
|
|
822
|
+
options: {
|
|
823
|
+
attribution: '<a target="_blank" href="https://www.geoportail.gouv.fr/">Geoportail France</a>',
|
|
824
|
+
bounds: [[-75, -180], [81, 180]],
|
|
825
|
+
minZoom: 2,
|
|
826
|
+
maxZoom: 18,
|
|
827
|
+
// Get your own geoportail apikey here : http://professionnels.ign.fr/ign/contrats/
|
|
828
|
+
// NB : 'choisirgeoportail' is a demonstration key that comes with no guarantee
|
|
829
|
+
apikey: 'choisirgeoportail',
|
|
830
|
+
format: 'image/jpeg',
|
|
831
|
+
style : 'normal',
|
|
832
|
+
variant: 'GEOGRAPHICALGRIDSYSTEMS.MAPS.SCAN-EXPRESS.STANDARD'
|
|
833
|
+
},
|
|
834
|
+
variants: {
|
|
835
|
+
parcels: {
|
|
836
|
+
options : {
|
|
837
|
+
variant: 'CADASTRALPARCELS.PARCELS',
|
|
838
|
+
maxZoom: 20,
|
|
839
|
+
style : 'bdparcellaire',
|
|
840
|
+
format: 'image/png'
|
|
841
|
+
}
|
|
842
|
+
},
|
|
843
|
+
ignMaps: 'GEOGRAPHICALGRIDSYSTEMS.MAPS',
|
|
844
|
+
maps: 'GEOGRAPHICALGRIDSYSTEMS.MAPS.SCAN-EXPRESS.STANDARD',
|
|
845
|
+
orthos: {
|
|
846
|
+
options: {
|
|
847
|
+
maxZoom: 19,
|
|
848
|
+
variant: 'ORTHOIMAGERY.ORTHOPHOTOS'
|
|
849
|
+
}
|
|
850
|
+
}
|
|
851
|
+
}
|
|
852
|
+
},
|
|
853
|
+
OneMapSG: {
|
|
854
|
+
url: 'https://maps-{s}.onemap.sg/v3/{variant}/{z}/{x}/{y}.png',
|
|
855
|
+
options: {
|
|
856
|
+
variant: 'Default',
|
|
857
|
+
minZoom: 11,
|
|
858
|
+
maxZoom: 18,
|
|
859
|
+
bounds: [[1.56073, 104.11475], [1.16, 103.502]],
|
|
860
|
+
attribution: '<img src="https://docs.onemap.sg/maps/images/oneMap64-01.png" style="height:20px;width:20px;"/> New OneMap | Map data © contributors, <a href="http://SLA.gov.sg">Singapore Land Authority</a>'
|
|
861
|
+
},
|
|
862
|
+
variants: {
|
|
863
|
+
Default: 'Default',
|
|
864
|
+
Night: 'Night',
|
|
865
|
+
Original: 'Original',
|
|
866
|
+
Grey: 'Grey',
|
|
867
|
+
LandLot: 'LandLot'
|
|
868
|
+
}
|
|
869
|
+
}
|
|
870
|
+
};
|
|
871
|
+
|
|
872
|
+
L.tileLayer.provider = function (provider, options) {
|
|
873
|
+
return new L.TileLayer.Provider(provider, options);
|
|
874
|
+
};
|
|
875
|
+
|
|
876
|
+
return L;
|
|
877
|
+
}));
|