Version: (using KDE Devel) Installed from: Compiled sources If you have a book about a country (for example, lonely planet) you typically find a couple of maps to highlight that country on the globe. I'd love to have a way to highlight one country or region on the marble widget. Some suggestions to do this; * using any theme you can use the fact that marble already knows the borders and paint the area within those borders colorized. Showing it slightly redish tends to be a good way. alternatively; * show the country in the chosen theme but show everything outside the country borders using the plain-map 'theme'. * don't show any decorations (city/mountain/etc names) outside the country borders. Thanks!
There is currently no support for 'Areas' in marble. The country borders that you can see are just vectors with no connection to any areas like countries or anything else like it. We will add support for this in KDE 4.1, most likely.
Unfortunately this will not happen for 4.1. It is now scheduled for 4.2 instead.
Hi! Has it been implemented Inge?. Thanks.
Git commit c531145f0174bf61d23b1cb6bd00ccf00f1481d7 by Abhinav Gangwar. Committed on 02/11/2014 at 10:18. Pushed by agangwar into branch 'master'. Added highlight on click feature REVIEW: 118717 M +1 -1 data/maps/earth/political/political.dgml M +106 -0 src/lib/marble/GeoGraphicsScene.cpp M +26 -0 src/lib/marble/GeoGraphicsScene.h M +15 -0 src/lib/marble/MarbleInputHandler.cpp M +7 -0 src/lib/marble/MarbleInputHandler.h M +16 -0 src/lib/marble/MarbleMap.cpp M +2 -0 src/lib/marble/MarbleMap.h M +89 -25 src/lib/marble/MarbleModel.cpp M +2 -1 src/lib/marble/MarbleModel.h M +18 -0 src/lib/marble/MarbleWidget.cpp M +12 -5 src/lib/marble/MarbleWidget.h M +1 -1 src/lib/marble/geodata/graphicsitem/GeoPolygonGraphicsItem.cpp M +2 -0 src/lib/marble/geodata/handlers/dgml/DgmlAttributeDictionary.cpp M +2 -0 src/lib/marble/geodata/handlers/dgml/DgmlAttributeDictionary.h M +6 -3 src/lib/marble/geodata/handlers/dgml/DgmlMapTagHandler.cpp M +25 -0 src/lib/marble/geodata/scene/GeoSceneMap.cpp M +5 -0 src/lib/marble/geodata/scene/GeoSceneMap.h M +30 -0 src/lib/marble/graphicsview/GeoGraphicsItem.cpp M +12 -0 src/lib/marble/graphicsview/GeoGraphicsItem.h M +8 -2 src/lib/marble/graphicsview/GeoGraphicsItem_p.h M +106 -0 src/lib/marble/layers/GeometryLayer.cpp M +6 -1 src/lib/marble/layers/GeometryLayer.h http://commits.kde.org/marble/c531145f0174bf61d23b1cb6bd00ccf00f1481d7