From dd91b581f5137cc5cf37819d51d364d02a04c881 Mon Sep 17 00:00:00 2001 From: Eugene Burmakin Date: Fri, 1 Nov 2024 13:53:38 +0100 Subject: [PATCH] Update changelog --- .app_version | 2 +- CHANGELOG.md | 6 ++++++ app/javascript/controllers/maps_controller.js | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.app_version b/.app_version index e78439d7..8ddf20e4 100644 --- a/.app_version +++ b/.app_version @@ -1 +1 @@ -0.15.11 +0.15.12 diff --git a/CHANGELOG.md b/CHANGELOG.md index 4a4a6268..f2a3b8a7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +# 0.15.12 - 2024-11-01 + +### Added + +- Scratch map. You can enable it in the map controls. The scratch map highlight countries you've visited. The scratch map is working properly only if you have your points reverse geocoded. + # 0.15.11 - 2024-10-29 ### Added diff --git a/app/javascript/controllers/maps_controller.js b/app/javascript/controllers/maps_controller.js index a09e1a02..a85cc085 100644 --- a/app/javascript/controllers/maps_controller.js +++ b/app/javascript/controllers/maps_controller.js @@ -154,6 +154,7 @@ export default class extends Controller { } }) + // the JSON is 23MB, so it's better to fetch it asynchronously or cache or use local copy const response = await fetch('https://raw.githubusercontent.com/datasets/geo-countries/master/data/countries.geojson') const worldData = await response.json()