Bug 247676

Summary: Show search results on map
Product: [Applications] marble Reporter: Karl Ove Hufthammer <karl>
Component: generalAssignee: marble-bugs
Status: RESOLVED FIXED    
Severity: wishlist CC: nienhueser
Priority: NOR    
Version: unspecified   
Target Milestone: some future version   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:

Description Karl Ove Hufthammer 2010-08-13 18:31:19 UTC
Version:           unspecified
OS:                Linux

When searching for POIs, for example for ‘ATM, City name’ to find all the ATMs in a city, it would be useful if the search results were shown on the current map view (e.g., as red pins or dots).

Perhaps a check box under the search results saying ‘Display results on map’?

Reproducible: Always




OS: Linux (i686) release 2.6.33.5-desktop-2mnb
Compiler: gcc
Comment 1 Dennis Nienhüser 2010-08-13 22:48:57 UTC
Yes, could/should be the default behavior even without a checkbox, I'd say.
Comment 2 Thibaut Gridel 2011-07-10 18:24:02 UTC
Git commit 1f1903c4c52948f6b861ea27e04c38d8fd30f30d by Thibaut Gridel.
Committed on 10/07/2011 at 19:35.
Pushed by tgridel into branch 'master'.

NavigationWidget: hold a document for search results

This has 3 parts:
* runner manager doesn't return a model but a vector of placemarks
* search results are appended in MarbleModel treeModel
* the placemarks are displayed on the map automatically

BUG: 247676

M  +1    -0    src/lib/MarbleRunnerManager.cpp     
M  +1    -0    src/lib/MarbleRunnerManager.h     
M  +43   -13   src/lib/NavigationWidget.cpp     
M  +2    -1    src/lib/NavigationWidget.h     
M  +2    -1    src/lib/geodata/parser/GeoDataTypes.h     

http://commits.kde.org/marble/1f1903c4c52948f6b861ea27e04c38d8fd30f30d