Add point id to popup and fix scratch map for North Macedonia

This commit is contained in:
Eugene Burmakin 2024-12-17 12:01:19 +01:00
parent 3554e405db
commit bd43b97fcf
4 changed files with 14 additions and 2 deletions

View file

@ -1 +1 @@
0.20.1
0.20.2

View file

@ -5,11 +5,21 @@ 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.20.2 - 2024-12-17
### Added
- A point id is now being shown in the point popup.
### Fixed
- North Macedonia is now being shown on the scratch map. #537
# 0.20.1 - 2024-12-16
### Fixed
- Setting `reverse_geocoded_at` for points that don't have geodata is now being performed in background job, in batches of 10,000 points to prevent memory exhaustion.
- Setting `reverse_geocoded_at` for points that don't have geodata is now being performed in background job, in batches of 10,000 points to prevent memory exhaustion and long-running data migration.
# 0.20.0 - 2024-12-16

View file

@ -161,6 +161,7 @@ export function countryCodesMap() {
"Niue": "NU",
"Norfolk Island": "NF",
"Northern Mariana Islands": "MP",
"North Macedonia": "MK",
"Norway": "NO",
"Oman": "OM",
"Pakistan": "PK",

View file

@ -15,6 +15,7 @@ export function createPopupContent(marker, timezone, distanceUnit) {
<strong>Altitude:</strong> ${marker[3]}m<br>
<strong>Velocity:</strong> ${marker[5]}km/h<br>
<strong>Battery:</strong> ${marker[2]}%<br>
<strong>Id:</strong> ${marker[6]}<br>
<a href="#" data-id="${marker[6]}" class="delete-point">[Delete]</a>
`;
}