[Marble-devel] OSM Layer is not drawn
Torsten Rahn
tackat at t-online.de
Mon Sep 5 11:18:06 UTC 2011
Does the OSM theme work properly with the Marble application for you?
Best Regards,
Torsten
On Monday, 5. September 2011 12:06:37 Thomas Klemmer wrote:
> 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
More information about the Marble-devel
mailing list