Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gnome-maps for openSUSE:Factory 
checked in at 2023-01-10 14:59:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnome-maps (Old)
 and      /work/SRC/openSUSE:Factory/.gnome-maps.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gnome-maps"

Tue Jan 10 14:59:25 2023 rev:77 rq:1057049 version:43.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/gnome-maps/gnome-maps.changes    2022-12-04 
14:58:21.960274290 +0100
+++ /work/SRC/openSUSE:Factory/.gnome-maps.new.32243/gnome-maps.changes 
2023-01-10 14:59:52.821228825 +0100
@@ -1,0 +2,9 @@
+Sat Jan  7 12:45:35 UTC 2023 - Bjørn Lie <bjorn....@gmail.com>
+
+- Update to version 43.3:
+  + Fix blurry shape layers on zoom.
+  + Fix user location accuracy marker positioning.
+  + Various other bug fixes.
+  + Updated translations.
+
+-------------------------------------------------------------------

Old:
----
  gnome-maps-43.2.tar.xz

New:
----
  gnome-maps-43.3.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gnome-maps.spec ++++++
--- /var/tmp/diff_new_pack.m13sPw/_old  2023-01-10 14:59:53.369231757 +0100
+++ /var/tmp/diff_new_pack.m13sPw/_new  2023-01-10 14:59:53.373231779 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package gnome-maps
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           gnome-maps
-Version:        43.2
+Version:        43.3
 Release:        0
 Summary:        Maps Application for GNOME
 License:        GPL-2.0-or-later

++++++ gnome-maps-43.2.tar.xz -> gnome-maps-43.3.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-maps-43.2/NEWS new/gnome-maps-43.3/NEWS
--- old/gnome-maps-43.2/NEWS    2022-12-01 21:23:30.000000000 +0100
+++ new/gnome-maps-43.3/NEWS    2023-01-06 23:05:06.000000000 +0100
@@ -1,3 +1,20 @@
+43.3 - Jan 6, 2023
+=========================
+
+Changes since 43.2
+ - Fix blurry shape layers on zoom
+ - Fix user location accuracy marker positioning
+ - Various other bug fixes
+
+Added/updated/fixed translations
+ - Abkhazian
+
+All contributors to this release
+Amit Tripathi <tripathiamit2...@gmail.com>
+Marcus Lundblad <m...@dfupdate.se>
+Nart Tlisha <daniel.abz...@gmail.com>
+Valentin Blot <14005-vb...@users.noreply.gitlab.gnome.org>
+
 43.2 - Dec 1, 2022
 =========================
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/gnome-maps-43.2/data/org.gnome.Maps.appdata.xml.in.in 
new/gnome-maps-43.3/data/org.gnome.Maps.appdata.xml.in.in
--- old/gnome-maps-43.2/data/org.gnome.Maps.appdata.xml.in.in   2022-12-01 
21:23:30.000000000 +0100
+++ new/gnome-maps-43.3/data/org.gnome.Maps.appdata.xml.in.in   2023-01-06 
23:05:06.000000000 +0100
@@ -31,6 +31,15 @@
     </screenshot>
   </screenshots>
   <releases>
+    <release date="2023-01-06" version="43.3">
+      <description>
+        <ul>
+          <li>Fix blurry shape layers on zoom</li>
+          <li>Fix user location accuracy marker positioning</li>
+          <li>Various other bug fixes</li>
+        </ul>
+      </description>
+    </release>
     <release date="2022-12-01" version="43.2">
       <description>
         <ul>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-maps-43.2/lib/maps-file-data-source.c 
new/gnome-maps-43.3/lib/maps-file-data-source.c
--- old/gnome-maps-43.2/lib/maps-file-data-source.c     2022-12-01 
21:23:30.000000000 +0100
+++ new/gnome-maps-43.3/lib/maps-file-data-source.c     2023-01-06 
23:05:06.000000000 +0100
@@ -467,11 +467,18 @@
               gpointer      user_data)
 {
   g_autoptr(GTask) task = user_data;
+  g_autoptr(GError) error = NULL;
   FillTileData *data = g_task_get_task_data (task);
   char *contents;
   gsize length;
 
-  g_file_load_contents_finish (data->file, res, &contents, &length, NULL, 
NULL);
+  g_file_load_contents_finish (data->file, res, &contents, &length, NULL, 
&error);
+
+  if (error)
+    {
+      g_warning ("Failed to load file: %s", error->message);
+      return;
+    }
 
   if (contents != NULL)
     {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-maps-43.2/meson.build 
new/gnome-maps-43.3/meson.build
--- old/gnome-maps-43.2/meson.build     2022-12-01 21:23:30.000000000 +0100
+++ new/gnome-maps-43.3/meson.build     2023-01-06 23:05:06.000000000 +0100
@@ -1,5 +1,5 @@
 project('gnome-maps', 'c',
-       version: '43.2',
+       version: '43.3',
        license: 'GPL-2.0-or-later',
        meson_version: '>= 0.61.0',
 )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-maps-43.2/po/ab.po new/gnome-maps-43.3/po/ab.po
--- old/gnome-maps-43.2/po/ab.po        2022-12-01 21:23:30.000000000 +0100
+++ new/gnome-maps-43.3/po/ab.po        2023-01-06 23:05:06.000000000 +0100
@@ -1,7 +1,7 @@
 msgid ""
 msgstr ""
 "Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/gnome-maps/issues\n";
-"POT-Creation-Date: 2022-10-23 17:08+0000\n"
+"POT-Creation-Date: 2022-12-01 02:11+0000\n"
 "Last-Translator: Нанба Наала <naala-na...@rambler.ru>\n"
 "Language-Team: Abkhazian <daniel.abz...@gmail.com>\n"
 "Language: ab\n"
@@ -21,7 +21,7 @@
 #. Translators: This is the program name.
 #: data/org.gnome.Maps.appdata.xml.in.in:6 data/org.gnome.Maps.desktop.in.in:4
 #: data/ui/main-window.ui:27 src/application.js:61 src/mainWindow.js:133
-#: src/mainWindow.js:511
+#: src/mainWindow.js:516
 msgid "Maps"
 msgstr ""
 
@@ -42,7 +42,7 @@
 "thousands of people across the globe."
 msgstr ""
 
-#: data/org.gnome.Maps.appdata.xml.in.in:331 src/mainWindow.js:508
+#: data/org.gnome.Maps.appdata.xml.in.in:331 src/mainWindow.js:513
 msgid "The GNOME Project"
 msgstr "The GNOME Project"
 
@@ -59,6 +59,30 @@
 msgid "Allows your location to be shown on the map."
 msgstr ""
 
+#: data/org.gnome.Maps.gschema.xml:11
+msgid "last viewed location"
+msgstr "Ҭыԥс шәахьыҟоу азнагара"
+
+#: data/org.gnome.Maps.gschema.xml:12
+msgid "Coordinates of last viewed location."
+msgstr ""
+
+#: data/org.gnome.Maps.gschema.xml:16
+msgid "zoom"
+msgstr ""
+
+#: data/org.gnome.Maps.gschema.xml:17
+msgid "Zoom level"
+msgstr ""
+
+#: data/org.gnome.Maps.gschema.xml:21
+msgid "Map type"
+msgstr ""
+
+#: data/org.gnome.Maps.gschema.xml:22
+msgid "The type of map to display (street, aerial, etc.)"
+msgstr ""
+
 #: data/org.gnome.Maps.gschema.xml:26
 msgid "Window size"
 msgstr "Аԥенџьыр ашәагаа"
@@ -71,6 +95,62 @@
 msgid "Window position"
 msgstr "Аԥенџьыр аҭыԥ"
 
+#: data/org.gnome.Maps.gschema.xml:32
+msgid "Window position (X and Y)."
+msgstr "Аԥенџьыр аҭыԥ"
+
+#: data/org.gnome.Maps.gschema.xml:36
+msgid "Window maximized"
+msgstr "Аԥенџьыр иамоуп иреиҳау ашәагаа"
+
+#: data/org.gnome.Maps.gschema.xml:37
+msgid "Window maximization state"
+msgstr "Аԥенџьыр аҭыԥ"
+
+#: data/org.gnome.Maps.gschema.xml:41
+msgid "Maximum number of search results"
+msgstr ""
+
+#: data/org.gnome.Maps.gschema.xml:42
+msgid "Maximum number of search results from geocode search."
+msgstr ""
+
+#: data/org.gnome.Maps.gschema.xml:46
+msgid "Number of recent places to store"
+msgstr ""
+
+#: data/org.gnome.Maps.gschema.xml:47
+msgid "Number of recently visited places to store."
+msgstr ""
+
+#: data/org.gnome.Maps.gschema.xml:51
+msgid "Number of recent routes to store"
+msgstr ""
+
+#: data/org.gnome.Maps.gschema.xml:52
+msgid "Number of recently visited routes to store."
+msgstr ""
+
+#: data/org.gnome.Maps.gschema.xml:56
+msgid "OpenStreetMap username or e-mail address"
+msgstr ""
+
+#: data/org.gnome.Maps.gschema.xml:57
+msgid "Indicates if the user has signed in to edit OpenStreetMap data."
+msgstr ""
+
+#: data/org.gnome.Maps.gschema.xml:61
+msgid "Last used transportation type for routing"
+msgstr ""
+
+#: data/org.gnome.Maps.gschema.xml:65
+msgid "Show scale"
+msgstr ""
+
+#: data/org.gnome.Maps.gschema.xml:66
+msgid "Whether to show the scale."
+msgstr ""
+
 #: data/ui/context-menu.ui:6
 msgid "Route from here"
 msgstr ""
@@ -106,7 +186,7 @@
 
 #: data/ui/export-view-dialog.ui:26
 msgid "_Export"
-msgstr ""
+msgstr "_Аекспорт азура"
 
 #. Translators: This is a tooltip
 #: data/ui/headerbar-left.ui:11
@@ -121,12 +201,12 @@
 #. Translators: This is a tooltip
 #: data/ui/headerbar-left.ui:28
 msgid "Zoom out"
-msgstr ""
+msgstr "Архәҷра"
 
 #. Translators: This is a tooltip
 #: data/ui/headerbar-left.ui:37
 msgid "Zoom in"
-msgstr ""
+msgstr "Ардура"
 
 #. Translators: This is a tooltip
 #: data/ui/headerbar-right.ui:11
@@ -281,6 +361,8 @@
 "Sign in to authorize access in a web browser.\n"
 "Then fill in the obtained verification code here in the next step."
 msgstr ""
+"Шәҭала асистема веб-браузер ахь аҭалара х
аҭара шьақәыргыларазы.Анаҩс, ишәоуз "
+"агәаҭаратә код абраҟа иҭажәыҩ."
 
 #: data/ui/osm-account-dialog.ui:68
 msgid "Sign up"
@@ -329,7 +411,7 @@
 #. This is the place name as it would be written in a postal address 
(typically coming after the postal code)
 #: data/ui/osm-edit-address.ui:44
 msgid "City"
-msgstr ""
+msgstr "Ақалақь"
 
 #: data/ui/osm-edit-dialog.ui:54
 msgid "Type"
@@ -337,7 +419,7 @@
 
 #: data/ui/osm-edit-dialog.ui:76
 msgid "None"
-msgstr ""
+msgstr "Мап"
 
 #: data/ui/osm-edit-dialog.ui:105
 msgid "Add Field"
@@ -361,11 +443,11 @@
 msgid "Next"
 msgstr "Ԥхьаҟа"
 
-#: data/ui/place-popover.ui:42 src/application.js:269
+#: data/ui/place-popover.ui:42 src/application.js:275
 msgid "No results found"
-msgstr ""
+msgstr "Алҵшәақәа ԥшааӡам"
 
-#: data/ui/place-popover.ui:52 src/application.js:246 src/osmEditDialog.js:576
+#: data/ui/place-popover.ui:52 src/application.js:252 src/osmEditDialog.js:576
 msgid "An error has occurred"
 msgstr ""
 
@@ -380,7 +462,7 @@
 
 #: data/ui/send-to-dialog.ui:62
 msgid "Copy"
-msgstr ""
+msgstr "Ахкьыҧхьаара"
 
 #: data/ui/send-to-dialog.ui:68
 msgid "Send To…"
@@ -477,7 +559,7 @@
 msgstr ""
 
 #. Translators: This is a tooltip
-#: data/ui/place-bar.ui:28 data/ui/place-buttons.ui:27 data/ui/place-view.ui:53
+#: data/ui/place-bar.ui:28 data/ui/place-buttons.ui:27 data/ui/place-view.ui:52
 msgid "Share location"
 msgstr "Ҭыԥс шәахьыҟоу азнагара"
 
@@ -494,7 +576,7 @@
 #. Translators: This is a tooltip
 #: data/ui/place-buttons.ui:36
 msgid "Mark as favorite"
-msgstr ""
+msgstr "Иалкаау ахь ацҵара"
 
 #. Translators: This is a tooltip
 #: data/ui/place-buttons.ui:44
@@ -507,7 +589,7 @@
 
 #: data/ui/zoom-in-dialog.ui:27
 msgid "Zoom In"
-msgstr ""
+msgstr "Амасштаб ардура"
 
 #: lib/maps-file-data-source.c:262 lib/maps-file-data-source.c:338
 #: lib/maps-file-data-source.c:418
@@ -550,7 +632,7 @@
 msgid "[FILE…|URI]"
 msgstr "[FILE...|URI]"
 
-#: src/application.js:277
+#: src/application.js:283
 #, javascript-format
 msgid "Invalid maps: URI: %s"
 msgstr ""
@@ -578,7 +660,7 @@
 
 #: src/exportViewDialog.js:173
 msgid "No filename specified"
-msgstr ""
+msgstr "Афаил ахьӡ арбаӡам"
 
 #: src/exportViewDialog.js:181
 msgid "Unable to export view"
@@ -616,28 +698,28 @@
 msgid "All Layer Files"
 msgstr "Аҿыгҳарақәа рфаилқәа"
 
-#: src/mainWindow.js:422
+#: src/mainWindow.js:427
 msgid "Failed to connect to location service"
 msgstr ""
 
-#: src/mainWindow.js:509
+#: src/mainWindow.js:514
 msgid "translator-credits"
 msgstr "Нанба Наала <naala-na...@rambler.ru>, 2022"
 
-#: src/mainWindow.js:513
+#: src/mainWindow.js:518
 msgid "Copyright © 2011 – 2022 Red Hat, Inc. and The GNOME Maps authors"
 msgstr "Аԥҵаҩы изин © 2011 – 2022 Red Hat, Inc.  GNOME Maps 
аԥҵаҩцәеи"
 
-#: src/mainWindow.js:529
+#: src/mainWindow.js:534
 #, javascript-format
 msgid "Map data by %s and contributors"
 msgstr ""
 
-#: src/mainWindow.js:530
+#: src/mainWindow.js:535
 msgid "Map Data Provider"
 msgstr ""
 
-#: src/mainWindow.js:542
+#: src/mainWindow.js:547
 msgid "Map Tile Provider"
 msgstr ""
 
@@ -646,16 +728,16 @@
 #. * the bare name of the tile provider, or a linkified URL if one
 #. * is available
 #.
-#: src/mainWindow.js:550
+#: src/mainWindow.js:555
 #, javascript-format
 msgid "Map tiles provided by %s"
 msgstr ""
 
-#: src/mainWindow.js:580
+#: src/mainWindow.js:585
 msgid "Search Provider"
 msgstr ""
 
-#: src/mainWindow.js:583
+#: src/mainWindow.js:588
 #, javascript-format
 msgid "Search provided by %s using %s"
 msgstr ""
@@ -831,7 +913,7 @@
 #: src/osmEditDialog.js:191 src/osmEditDialog.js:200 src/osmEditDialog.js:211
 #: src/osmEditDialog.js:246
 msgid "No"
-msgstr ""
+msgstr "Мап"
 
 #: src/osmEditDialog.js:192
 msgid "Limited"
@@ -855,7 +937,7 @@
 
 #: src/osmEditDialog.js:203
 msgid "Terminal"
-msgstr ""
+msgstr "Атерминал"
 
 #: src/osmEditDialog.js:204
 msgid "Service"
@@ -987,7 +1069,7 @@
 
 #: src/osmEditDialog.js:523
 msgid "Done"
-msgstr ""
+msgstr "Ихиоуп"
 
 #: src/photonUtils.js:118
 msgid "Unnamed place"
@@ -1023,7 +1105,7 @@
 #.
 #: src/placeView.js:276
 msgid "Phone number"
-msgstr ""
+msgstr "Аҭел аномер"
 
 #. Translators:
 #. * The establishment offers customers to purchase meals
@@ -1497,11 +1579,11 @@
 #. * 's' in English with appropriate plural forms
 #.
 #: src/utils.js:379
-#, javascript-format
+#, fuzzy, javascript-format
 msgid "%s s"
 msgid_plural "%s s"
-msgstr[0] ""
-msgstr[1] ""
+msgstr[0] "%s с"
+msgstr[1] "%s с"
 
 #. Translators: This is a distance measured in kilometers
 #: src/utils.js:390
@@ -1634,866 +1716,3 @@
 #: src/transitplugins/openTripPlanner.js:1254
 msgid "Make a right u-turn"
 msgstr ""
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-#, fuzzy
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-maps-43.2/src/application.js 
new/gnome-maps-43.3/src/application.js
--- old/gnome-maps-43.2/src/application.js      2022-12-01 21:23:30.000000000 
+0100
+++ new/gnome-maps-43.3/src/application.js      2023-01-06 23:05:06.000000000 
+0100
@@ -363,8 +363,9 @@
         // need to unparent popover children to avoid GTK warnings on exit
         if (this._mainWindow) {
             this._mainWindow.placeEntry.popover.unparent();
+            this._mainWindow.sidebar.unparentSearchPopovers();
         }
-        this._mainWindow.sidebar.unparentSearchPopovers();
+
         super.vfunc_shutdown();
     }
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-maps-43.2/src/geoJSONShapeLayer.js 
new/gnome-maps-43.3/src/geoJSONShapeLayer.js
--- old/gnome-maps-43.2/src/geoJSONShapeLayer.js        2022-12-01 
21:23:30.000000000 +0100
+++ new/gnome-maps-43.3/src/geoJSONShapeLayer.js        2023-01-06 
23:05:06.000000000 +0100
@@ -18,9 +18,7 @@
  */
 
 import GObject from 'gi://GObject';
-import Shumate from 'gi://Shumate';
 
-import {GeoJSONSource} from './geoJSONSource.js';
 import {ShapeLayer} from './shapeLayer.js';
 import * as Utils from './utils.js';
 
@@ -35,16 +33,6 @@
         return new GeoJSONShapeLayer(params);
     };
 
-    constructor(params) {
-        super(params);
-
-        this._mapSource = new GeoJSONSource({ mapView: this._mapView,
-                                              markerLayer: this._markerLayer 
});
-        this._overlayLayer =
-            new Shumate.MapLayer({ map_source: this._mapSource,
-                                   viewport:   this._mapView.map.viewport });
-    }
-
     getName() {
         /* Special Case since this file extension contains 2 periods */
         let suffix = '.geo.json';
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-maps-43.2/src/gpxShapeLayer.js 
new/gnome-maps-43.3/src/gpxShapeLayer.js
--- old/gnome-maps-43.2/src/gpxShapeLayer.js    2022-12-01 21:23:30.000000000 
+0100
+++ new/gnome-maps-43.3/src/gpxShapeLayer.js    2023-01-06 23:05:06.000000000 
+0100
@@ -18,9 +18,7 @@
  */
 
 import GObject from 'gi://GObject';
-import Shumate from 'gi://Shumate';
 
-import {GeoJSONSource} from './geoJSONSource.js';
 import {ShapeLayer} from './shapeLayer.js';
 import * as Utils from './utils.js';
 import * as Togeojson from './togeojson/togeojson.js';
@@ -35,16 +33,6 @@
         return new GpxShapeLayer(params);
     };
 
-    constructor(params) {
-        super(params);
-
-        this._mapSource = new GeoJSONSource({ mapView: this._mapView,
-                                              markerLayer: this._markerLayer 
});
-        this._overlayLayer =
-            new Shumate.MapLayer({ map_source: this._mapSource,
-                                   viewport:   this._mapView.map.viewport });
-    }
-
     _parseContent() {
         let s = Utils.getBufferText(this._fileContents);
         let parser = new Domparser.DOMParser();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-maps-43.2/src/kmlShapeLayer.js 
new/gnome-maps-43.3/src/kmlShapeLayer.js
--- old/gnome-maps-43.2/src/kmlShapeLayer.js    2022-12-01 21:23:30.000000000 
+0100
+++ new/gnome-maps-43.3/src/kmlShapeLayer.js    2023-01-06 23:05:06.000000000 
+0100
@@ -18,9 +18,7 @@
  */
 
 import GObject from 'gi://GObject';
-import Shumate from 'gi://Shumate';
 
-import {GeoJSONSource} from './geoJSONSource.js';
 import {ShapeLayer} from './shapeLayer.js';
 import * as Utils from './utils.js';
 import * as Togeojson from './togeojson/togeojson.js';
@@ -35,16 +33,6 @@
         return new KmlShapeLayer(params);
     }
 
-    constructor(params) {
-        super(params);
-
-        this._mapSource = new GeoJSONSource({ mapView: this._mapView,
-                                              markerLayer: this._markerLayer 
});
-        this._overlayLayer =
-            new Shumate.MapLayer({ map_source: this._mapSource,
-                                   viewport:   this._mapView.map.viewport });
-    }
-
     _parseContent() {
         let s = Utils.getBufferText(this._fileContents);
         let parser = new Domparser.DOMParser();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-maps-43.2/src/layersPopover.js 
new/gnome-maps-43.3/src/layersPopover.js
--- old/gnome-maps-43.2/src/layersPopover.js    2022-12-01 21:23:30.000000000 
+0100
+++ new/gnome-maps-43.3/src/layersPopover.js    2023-01-06 23:05:06.000000000 
+0100
@@ -82,6 +82,7 @@
         this._layersSectionBox.visible = this._mapView.shapeLayerStore.n_items 
> 0;
         this._mapView.shapeLayerStore.connect('items-changed', (model) => {
             this._layersSectionBox.visible = model.n_items > 0;
+            this._layersListBox.visible = model.n_items > 0;
         });
 
         // for now let's disable the map type swithery, as we only have street
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-maps-43.2/src/mainWindow.js 
new/gnome-maps-43.3/src/mainWindow.js
--- old/gnome-maps-43.2/src/mainWindow.js       2022-12-01 21:23:30.000000000 
+0100
+++ new/gnome-maps-43.3/src/mainWindow.js       2023-01-06 23:05:06.000000000 
+0100
@@ -199,7 +199,7 @@
                 onActivate: () => this._onGotoUserLocationActivate()
             },
             'goto-antipode-location': {
-                accels: ['<Primary>A'],
+                accels: ['<Primary>I'],
                 onActivate: () => this._mapView.gotoAntipode()
             },
             'toggle-sidebar': {
@@ -346,6 +346,14 @@
     _updateAdaptiveMode() {
         let width = this._surface.width;
 
+        /* don't update adaptive state when the window has just been
+         * realized before adding widgets, having a tiny size
+         * this avoid flickering the adaptive mode bottom toolbar
+         * at startup in "desktop" mode when it shouldn't be
+         */
+        if (width < 10)
+            return;
+
         if (width < _ADAPTIVE_VIEW_WIDTH) {
             this.application.adaptive_mode = true;
             this._headerBarLeft.hide();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-maps-43.2/src/placeBar.js 
new/gnome-maps-43.3/src/placeBar.js
--- old/gnome-maps-43.2/src/placeBar.js 2022-12-01 21:23:30.000000000 +0100
+++ new/gnome-maps-43.3/src/placeBar.js 2023-01-06 23:05:06.000000000 +0100
@@ -73,8 +73,16 @@
             return;
         }
 
-        let formatter = new PlaceFormatter(this.place);
-        this._title.label = formatter.title;
+        /* set a formatted title when relevant for the place
+         * e.g. not for pure coordinate-based places (geo: URIs for example)
+         * which are not stored in the place store
+         */
+        if (this.place.store) {
+            let formatter = new PlaceFormatter(this.place);
+            this._title.label = formatter.title;
+        } else {
+            this._title.label = '';
+        }
 
         this._buttons.place = this.place;
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-maps-43.2/src/shapeLayer.js 
new/gnome-maps-43.3/src/shapeLayer.js
--- old/gnome-maps-43.2/src/shapeLayer.js       2022-12-01 21:23:30.000000000 
+0100
+++ new/gnome-maps-43.3/src/shapeLayer.js       2023-01-06 23:05:06.000000000 
+0100
@@ -22,7 +22,7 @@
 import Gtk from 'gi://Gtk';
 import Shumate from 'gi://Shumate';
 
-import {GeoJSONShapeLayer} from './geoJSONShapeLayer.js';
+import {GeoJSONSource} from './geoJSONSource.js';
 import * as Utils from './utils.js';
 
 export class ShapeLayer extends GObject.Object {
@@ -58,7 +58,22 @@
             selection_mode: Gtk.SelectionMode.SINGLE,
             viewport:       this._mapView.map.viewport
         });
-        this._mapSource = null;
+
+        this._mapSource = new GeoJSONSource({ mapView: this._mapView,
+                                              markerLayer: this._markerLayer 
});
+        this._overlayLayer =
+            new Shumate.MapLayer({ map_source: this._mapSource,
+                                   viewport:   this._mapView.map.viewport });
+        this._zoomId = 
this._mapView.map.viewport.connect('notify::zoom-level', () => {
+            let oldOverlayLayer = this._overlayLayer;
+
+            this._overlayLayer =
+                new Shumate.MapLayer({ map_source: this._mapSource,
+                                       viewport:   this._mapView.map.viewport 
});
+            this._overlayLayer.visible = this._visible;
+            this._mapView.map.add_layer(this._overlayLayer);
+            this._mapView.map.remove_layer(oldOverlayLayer);
+        });
     }
 
     get bbox() {
@@ -109,6 +124,7 @@
     unload() {
         this._mapView.map.remove_layer(this._markerLayer);
         this._mapView.map.remove_layer(this._overlayLayer);
+        this._mapView.map.viewport.disconnect(this._zoomId);
     }
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/gnome-maps-43.2/src/userLocationMarker.js 
new/gnome-maps-43.3/src/userLocationMarker.js
--- old/gnome-maps-43.2/src/userLocationMarker.js       2022-12-01 
21:23:30.000000000 +0100
+++ new/gnome-maps-43.3/src/userLocationMarker.js       2023-01-06 
23:05:06.000000000 +0100
@@ -132,7 +132,15 @@
 
     vfunc_snapshot(snapshot) {
         if (this.place.location.heading > -1) {
+            // rotate around the center of the icon
+            let {x, y, width, height} = this.get_allocation();
+            let point = new Graphene.Point();
+
+            point.init(width / 2, height / 2);
+            snapshot.translate(point);
             snapshot.rotate(this.place.location.heading);
+            point.init(-width / 2, -height / 2);
+            snapshot.translate(point);
         }
 
         this.snapshot_child(this._image, snapshot);

Reply via email to