[Marble-bugs] [Bug 311805] Implement more flexibility for including .kml files in map themes
tgridel at free.fr
tgridel at free.fr
Tue Jan 1 21:40:48 UTC 2013
https://bugs.kde.org/show_bug.cgi?id=311805
tgridel at free.fr changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
Latest Commit| |http://commits.kde.org/marb
| |le/2aaf9f1581f8187dba01fb9e
| |9bba0d506bb37eb3
--- Comment #2 from tgridel at free.fr ---
Git commit 2aaf9f1581f8187dba01fb9e9bba0d506bb37eb3 by Thibaut Gridel.
Committed on 01/01/2013 at 22:07.
Pushed by tgridel into branch 'master'.
GeoData: trigger visibility of documents from the theme legend
For this purpose, a property attribute is brought in the following:
- GeoSceneGeoData (aka geodata layer)
- FileManager and FileLoader
- GeoDataDocument
Then MarbleModel reacts to mapTheme settings signals and toggles
GeoDataDocument visibility.
The property name is generic and simply needs to be coordinated in
the dgml file in the following sections:
- <layer><geodata property="rivers">
- <settings><property name="rivers">
- <legend><section checkable="true" connect="rivers">
M +10 -5 src/lib/FileLoader.cpp
M +1 -1 src/lib/FileLoader.h
M +5 -11 src/lib/FileManager.cpp
M +2 -2 src/lib/FileManager.h
M +1 -1 src/lib/MarbleLegendBrowser.cpp
M +32 -13 src/lib/MarbleMap.cpp
M +1 -1 src/lib/MarbleMap.h
M +22 -7 src/lib/MarbleModel.cpp
M +2 -0 src/lib/MarbleModel.h
M +10 -0 src/lib/geodata/data/GeoDataDocument.cpp
M +3 -0 src/lib/geodata/data/GeoDataDocument.h
M +1 -0 src/lib/geodata/data/GeoDataDocument_p.h
M +1 -0 src/lib/geodata/handlers/dgml/DgmlAttributeDictionary.cpp
M +1 -0 src/lib/geodata/handlers/dgml/DgmlAttributeDictionary.h
M +3 -0 src/lib/geodata/handlers/dgml/DgmlGeodataTagHandler.cpp
M +7 -3 src/lib/geodata/scene/GeoSceneGeodata.cpp
M +3 -2 src/lib/geodata/scene/GeoSceneGeodata.h
http://commits.kde.org/marble/2aaf9f1581f8187dba01fb9e9bba0d506bb37eb3
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Marble-bugs
mailing list