burgs overview - intert lock state

This commit is contained in:
Azgaar 2021-11-12 23:00:21 +03:00 committed by Peter
parent fe6ed9b8bb
commit 58c356c5b7

View file

@ -445,11 +445,11 @@ function saveGeoJSON_Rivers() {
function saveGeoJSON_Markers() { function saveGeoJSON_Markers() {
const features = pack.markers.map(marker => { const features = pack.markers.map(marker => {
const {i, type, icon, x, y, size, fill, stroke, size} = marker; const {i, type, icon, x, y, size, fill, stroke} = marker;
const coordinates = getQGIScoordinates(x, y); const coordinates = getQGIScoordinates(x, y);
const id = `marker${i}`; const id = `marker${i}`;
const note = notes.find(note => note.id === id); const note = notes.find(note => note.id === id);
const properties = {id, type, icon, ...note, size, fill, stroke, size}; const properties = {id, type, icon, ...note, size, fill, stroke};
return {type: "Feature", geometry: {type: "Point", coordinates}, properties}; return {type: "Feature", geometry: {type: "Point", coordinates}, properties};
}); });