From d17f5b844756fdb69ac0fa314bdb338d36df33d8 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Thu, 24 Jul 2025 21:49:55 +0300 Subject: [PATCH] feat(book_properties): group map style into vector & raster --- .../src/translations/en/translation.json | 4 ++- .../widgets/ribbon_widgets/book_properties.ts | 32 ++++++++++++----- .../ribbon_widgets/book_properties_config.ts | 36 ++++++++++++++++--- .../view_widgets/geo_view/map_layer.ts | 10 +++--- 4 files changed, 62 insertions(+), 20 deletions(-) diff --git a/apps/client/src/translations/en/translation.json b/apps/client/src/translations/en/translation.json index b8c935aad..a72173a2a 100644 --- a/apps/client/src/translations/en/translation.json +++ b/apps/client/src/translations/en/translation.json @@ -1967,7 +1967,9 @@ "hide-weekends": "Hide weekends", "display-week-numbers": "Display week numbers", "map-style": "Map style:", - "max-nesting-depth": "Max nesting depth:" + "max-nesting-depth": "Max nesting depth:", + "raster": "Raster", + "vector": "Vector" }, "table_context_menu": { "delete_row": "Delete row" diff --git a/apps/client/src/widgets/ribbon_widgets/book_properties.ts b/apps/client/src/widgets/ribbon_widgets/book_properties.ts index 83989a57a..47c1a83f1 100644 --- a/apps/client/src/widgets/ribbon_widgets/book_properties.ts +++ b/apps/client/src/widgets/ribbon_widgets/book_properties.ts @@ -59,7 +59,9 @@ const TPL = /*html*/` ${t("book_properties.view_type")}:    @@ -215,16 +217,17 @@ export default class BookPropertiesWidget extends NoteContextAwareWidget { const $select = $("