Skip to content

Commit

Permalink
map: enable clustering again and add OpenDataHub.com attribution
Browse files Browse the repository at this point in the history
  • Loading branch information
dulvui committed Mar 7, 2024
1 parent 38dcd94 commit 999097f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/webapp/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
async function map_start_promise() {
let autorefresh_functions = []
let unsee_functions = []
var disableClusteringZoomLevel = 1;
var clusterDistance = 1;
var disableClusteringZoomLevel = 18;
var clusterDistance = 40;
var clusterNumberIconsCache = {};

startAutoRefresh();
Expand Down Expand Up @@ -49,7 +49,7 @@ async function map_start_promise() {
} else {
sources[sources.length] = new ol.source.OSM({
attributions: [
'Maps © <a href="http://www.thunderforest.com">Thunderforest</a>, Data © <a href="http://www.openstreetmap.org/copyright">OpenStreetMap contributors</a>'
'<a target="_blank" href="http://www.opendatahub.com">OpenDataHub.com</a> | Maps © <a target="_blank" href="http://www.thunderforest.com">Thunderforest</a>, Data © <a target="_blank" href="http://www.openstreetmap.org/copyright">OpenStreetMap contributors</a>'
],
url: mapTileURLs[i][1] + env.THUNDERFOREST_MAP_API_KEY
})
Expand Down

0 comments on commit 999097f

Please sign in to comment.