mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-11 01:31:39 -05:00
Add point id to popup and fix scratch map for North Macedonia
This commit is contained in:
parent
3554e405db
commit
bd43b97fcf
4 changed files with 14 additions and 2 deletions
|
|
@ -1 +1 @@
|
||||||
0.20.1
|
0.20.2
|
||||||
|
|
|
||||||
12
CHANGELOG.md
12
CHANGELOG.md
|
|
@ -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/)
|
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
||||||
and this project adheres to [Semantic Versioning](http://semver.org/).
|
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
|
# 0.20.1 - 2024-12-16
|
||||||
|
|
||||||
### Fixed
|
### 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
|
# 0.20.0 - 2024-12-16
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -161,6 +161,7 @@ export function countryCodesMap() {
|
||||||
"Niue": "NU",
|
"Niue": "NU",
|
||||||
"Norfolk Island": "NF",
|
"Norfolk Island": "NF",
|
||||||
"Northern Mariana Islands": "MP",
|
"Northern Mariana Islands": "MP",
|
||||||
|
"North Macedonia": "MK",
|
||||||
"Norway": "NO",
|
"Norway": "NO",
|
||||||
"Oman": "OM",
|
"Oman": "OM",
|
||||||
"Pakistan": "PK",
|
"Pakistan": "PK",
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,7 @@ export function createPopupContent(marker, timezone, distanceUnit) {
|
||||||
<strong>Altitude:</strong> ${marker[3]}m<br>
|
<strong>Altitude:</strong> ${marker[3]}m<br>
|
||||||
<strong>Velocity:</strong> ${marker[5]}km/h<br>
|
<strong>Velocity:</strong> ${marker[5]}km/h<br>
|
||||||
<strong>Battery:</strong> ${marker[2]}%<br>
|
<strong>Battery:</strong> ${marker[2]}%<br>
|
||||||
|
<strong>Id:</strong> ${marker[6]}<br>
|
||||||
<a href="#" data-id="${marker[6]}" class="delete-point">[Delete]</a>
|
<a href="#" data-id="${marker[6]}" class="delete-point">[Delete]</a>
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue