Marble: Migrate Nations in Marble to the usage of Webpopups
completed by: Illya Kovalevskyy
mentors: Torsten Rahn, Dennis Nienhüser
Right now if you click on a country in Marble the facts get displayed inside the so-called PlacemarkInfoDialog.
The plan for this task is to migrate this dialog (or rather the first tab) to the usage of the webpopupitem that has been created recently: Untar this example view inside a new directory:
Load the places.html into a browser (e.g. Firefox). The whole webpage consists of HTML, CSS and icons. The HTML content should get reworked to have all the dynamic content as variables that get replaced by the actual content at runtime.
Then the HTML file should get displayed inside the webpopup. This can be accomplished via AbstractInfoDialog::setContent().
The maximum width of the content inside the bubble should be between 500 and 600 pixels.
For nations the table should get extended by an "Area" entry that shows the area in square km. "Timezone" and "State" rows should not be displayed.
This task is another step towards getting rid of the PlacemarkInfoDialog.