[marble] [Bug 358779] dgml is missing an option center the map (lonlat) [patch]

Torsten Rahn bugzilla_noreply at kde.org
Mon Apr 24 12:55:45 BST 2023


https://bugs.kde.org/show_bug.cgi?id=358779

Torsten Rahn <rahn at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
      Latest Commit|                            |https://invent.kde.org/educ
                   |                            |ation/marble/commit/a4aa19d
                   |                            |b604e1c233982b20e1ab886df76
                   |                            |839094
         Resolution|---                         |FIXED

--- Comment #5 from Torsten Rahn <rahn at kde.org> ---
Git commit a4aa19db604e1c233982b20e1ab886df76839094 by Torsten Rahn.
Committed on 24/04/2023 at 11:55.
Pushed by rahn into branch 'master'.

Patch by Boris Shhtrasman:
- dgml is missing an option center the map (lonlat)

In order to integrate this with MapWizard's WMS support I changed the
behavior by
- centering on the geodetic boundingbox instead of a geodetic point
- only center when the map theme is changed if the current view points
  outside the boundingbox of the map theme.

M  +35   -0    src/apps/marble-kde/KdeMainWindow.cpp
M  +1    -0    src/apps/marble-kde/KdeMainWindow.h
M  +35   -1    src/apps/marble-qt/QtMainWindow.cpp
M  +1    -0    src/apps/marble-qt/QtMainWindow.h
M  +12   -0    src/lib/marble/MapWizard.cpp
M  +36   -0    src/lib/marble/OwsServiceManager.cpp
M  +1    -0    src/lib/marble/OwsServiceManager.h
M  +2    -0    src/lib/marble/geodata/CMakeLists.txt
M  +1    -1    src/lib/marble/geodata/data/GeoDataCoordinates.h
M  +1    -0    src/lib/marble/geodata/handlers/dgml/DgmlElementDictionary.cpp
M  +1    -0    src/lib/marble/geodata/handlers/dgml/DgmlElementDictionary.h
M  +31   -0    src/lib/marble/geodata/scene/GeoSceneMap.cpp
M  +12   -1    src/lib/marble/geodata/scene/GeoSceneMap.h
M  +16   -1    src/lib/marble/geodata/writers/dgml/DgmlMapTagWriter.cpp

https://invent.kde.org/education/marble/commit/a4aa19db604e1c233982b20e1ab886df76839094

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Marble-bugs mailing list