Skip to content

Commit

Permalink
Update resources
Browse files Browse the repository at this point in the history
  • Loading branch information
LOOHP committed Dec 10, 2024
1 parent 3d387f5 commit 2713769
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,7 @@ function mergeHeatmapData(map1, map2) {
async function updateOrigin(lat = lastPosition[0], lng = lastPosition[1]) {
document.getElementById("export-points-button").disabled = true;
document.getElementById("export-image-button").disabled = true;
document.getElementById("export-image-basemap-button").disabled = true;
document.getElementById("export-area-button").disabled = true;

if (!routeList || !stopList || !lat || !lng) return;
Expand Down Expand Up @@ -545,6 +546,7 @@ async function updateOrigin(lat = lastPosition[0], lng = lastPosition[1]) {
if (journeyTimesData.length > 0) {
document.getElementById("export-points-button").disabled = false;
document.getElementById("export-image-button").disabled = false;
document.getElementById("export-image-basemap-button").disabled = false;
if (lastAreaGeoJson) {
document.getElementById("export-area-button").disabled = false;
}
Expand Down
2 changes: 1 addition & 1 deletion routeTimeList.min.json

Large diffs are not rendered by default.

0 comments on commit 2713769

Please sign in to comment.