|
Lines 251-262
Link Here
|
| 251 |
|
251 |
|
| 252 |
<script> |
252 |
<script> |
| 253 |
var map = L.map('mapid').setView([0,0], 1); |
253 |
var map = L.map('mapid').setView([0,0], 1); |
| 254 |
L.tileLayer('https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token=pk.eyJ1IjoibWFwYm94IiwiYSI6ImNpandmbXliNDBjZWd2M2x6bDk3c2ZtOTkifQ._QA7i5Mpkd_m30IGElHziw', { |
254 |
|
|
|
255 |
L.tileLayer('https://a.tile.openstreetmap.org/{z}/{x}/{y}.png', { |
| 255 |
maxZoom: 18, |
256 |
maxZoom: 18, |
| 256 |
attribution: 'Map data © <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, ' + |
257 |
attribution: 'Map data © <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, ' + |
| 257 |
'<a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>, ' + |
258 |
'<a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>' |
| 258 |
'Imagery © <a href="http://mapbox.com">Mapbox</a>', |
|
|
| 259 |
id: 'mapbox.streets' |
| 260 |
}).addTo(map); |
259 |
}).addTo(map); |
| 261 |
|
260 |
|
| 262 |
var default_elt = { 'text': _("Main library"), 'id': 'UsageStatsGeolocation' }; |
261 |
var default_elt = { 'text': _("Main library"), 'id': 'UsageStatsGeolocation' }; |
| 263 |
- |
|
|