[Marble-devel] turn the map

bbeschow at cs.tu-berlin.de bbeschow at cs.tu-berlin.de
Thu Mar 22 20:16:41 UTC 2012


Hi Konrad,

>>>You mean a compass that allows for moving the map (panning)?
> no, turning the map.
> In GoogleEarth ou see two compass, with the upper one it is possible
> to turn the map (in any zoom level).
> Or, for example, if i have connected a GpsDevice, i would like
> to turn the map automatically the way that you allways drive upwards,

Ah, I see. Nice idea. Unfortunately, rotation is currently not supported
in Marble-master at all. I have an experimental "rotation" branch in my
github repository[1], where it's possible to rotate the map. However, only
spherical projection works correctly at the moment, whereas there is
almost no rotation support for the flat projections. I'd appreciate any
help, though! If you need more information, don't hesitate to ask.

Greetings,
Bernhard

[1] https://github.com/shentok/marble/commits/rotation

> ----- Original Message -----
> From: <bbeschow at cs.tu-berlin.de>
> To: "Konrad Enzensberger" <e.konrad at mpegcode.com>; <marble-devel at kde.org>
> Sent: Thursday, March 22, 2012 12:52 PM
> Subject: Re: turn the map
>
>
>> Hello Konrad,
>>
>>> i like to develope a new compass plugin
>>> like the compass used in GoogleEarth.
>>> I need to be able to turn the map in any zoom level.
>>>
>>> Is there a marblewidget api methode i can use
>>> to turn the map?
>>> could you give me some hint how to start ?
>>
>>
>> You mean a compass that allows for moving the map (panning)? If so, then
>> have a look at the NavigationFloatItem and perhaps take that as a base
>> for
>> your plugin.
>>
>> HTH.
>>
>> Greetings,
>> Bernhard
>>
>>
>
>




More information about the Marble-devel mailing list