Hi Everyone,<br><br><br>I'm fairly new to marble but I'm already falling in love with it...<br>I have a Visual Studio 2008 project set up and everything builds just fine...<br><br>I just tried this very simple example:<br>
<br><div dir="ltr" class="mw-geshi" style="text-align: left;"><div class="cpp-qt source-cpp-qt"><pre class="de1"><span class="co2">#include <QtGui/QApplication></span>
<span class="co2">#include <marble/MarbleWidget.h></span>
<span class="kw2">using</span> <span class="kw2">namespace</span> Marble<span class="sy0">;</span>
<span class="kw4">int</span> main<span class="br0">(</span><span class="kw4">int</span> argc<span class="sy0">,</span> <span class="kw4">char</span><span class="sy0">**</span> argv<span class="br0">)</span>
<span class="br0">{</span>
<span class="kw5">QApplication</span> app<span class="br0">(</span>argc<span class="sy0">,</span>argv<span class="br0">)</span><span class="sy0">;</span>
<span class="co1">// Create a Marble QWidget without a parent</span>
MarbleWidget <span class="sy0">*</span>mapWidget <span class="sy0">=</span> <span class="kw1">new</span> MarbleWidget<span class="br0">(</span><span class="br0">)</span><span class="sy0">;</span>
<span class="co1">// Load the OpenStreetMap map</span>
mapWidget<span class="sy0">-></span><span class="me3">setMapThemeId</span><span class="br0">(</span><span class="st0">"earth/openstreetmap/openstreetmap.dgml"</span><span class="br0">)</span><span class="sy0">;</span>
mapWidget<span class="sy0">-></span><span class="me3">show</span><span class="br0">(</span><span class="br0">)</span><span class="sy0">;</span>
<span class="kw1">return</span> app.<span class="me1">exec</span><span class="br0">(</span><span class="br0">)</span><span class="sy0">;</span>
<span class="br0">}</span></pre></div></div><br><br><br><br>So here ist the issue I'm having trouble with:<br><br>If I set the maptheme:<br><br>MarbleWidget->setMapThemeId("earth/bluemarble/bluemarble.dgml");<br>
<br>everything gets rendered just perfectly...<br><br>if I set it to:<br><br>FDCD_MW.MarbleWidget->setMapThemeId("earth/openstreetmap/openstreetmap.dgml");<br><br>I only get a green tile (0 tile...), so no other tiles are loaded.<br>
<br>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??<br><br>Help is greatly appreciated.<br><br>cheers<br><br>Thomas<br>