[Marble-devel] OSM Layer is not drawn

Thomas Klemmer thomas.klemmer at googlemail.com
Mon Sep 5 10:06:37 UTC 2011


Hi Everyone,


I'm fairly new to marble but I'm already falling in love with it...
I have a Visual Studio 2008 project set up and everything builds just
fine...

I just tried this very simple example:

#include <QtGui/QApplication>#include <marble/MarbleWidget.h>
 using namespace Marble;
 int main(int argc, char** argv){
    QApplication app(argc,argv);

    // Create a Marble QWidget without a parent
    MarbleWidget *mapWidget = new MarbleWidget();

    // Load the OpenStreetMap map
    mapWidget->setMapThemeId("earth/openstreetmap/openstreetmap.dgml");

    mapWidget->show();

    return app.exec();}





So here ist the issue I'm having trouble with:

If I set the maptheme:

MarbleWidget->setMapThemeId("earth/bluemarble/bluemarble.dgml");

everything gets rendered just perfectly...

if I set it to:

FDCD_MW.MarbleWidget->setMapThemeId("earth/openstreetmap/openstreetmap.dgml");

I only get a green tile (0 tile...), so no other tiles are loaded.

I have a working internet connection (no proxy) and I can reach the tile
servers... is there anything else I have to do to make OSM run??

Help is greatly appreciated.

cheers

Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/marble-devel/attachments/20110905/bf2dbaf4/attachment.html>


More information about the Marble-devel mailing list