interestingReferences = $.parseJSON(interestingReferences);
}
if (interestingReferences) {
- $("settings-references").show();
+ $("#settings-references").css('display', 'block');
}
if (map_enabled) return;
map = L.map('reference-map').setView([0, 0], 11);
- L.tileLayer('https://maps.wikimedia.org/osm-intl/{z}/{x}/{y}.png?lang=pl', {
+ L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
attribution: 'Map data © <a href="http://openstreetmap.org/copyright">OpenStreetMap contributors</a>'
}).addTo(map);
$('a.reference').each(function() {
$this = $(this);
uri = $this.attr('data-uri');
- console.log('check ' + uri);
if (interestingReferences.hasOwnProperty(uri)) {
$this.addClass('interesting');
ref = interestingReferences[uri];