]> git.itanic.dy.fi Git - maemo-mapper/log
maemo-mapper
14 years agoDetach volume control from HW buttons to enable zooming on n900. gps-fixes-v4
Andreas Henriksson [Mon, 2 Nov 2009 16:16:41 +0000 (17:16 +0100)]
Detach volume control from HW buttons to enable zooming on n900.

In Maemo 5, applications needs to tell the volume control
to detach to get the button events (which is used
for zooming in MM).

http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Porting_Software/Porting_Existing_GTK%2B_Application_to_Maemo_5#Remapping_volume_keys

Signed-off-by: Andreas Henriksson <andreas@fatal.se>
14 years agoinput.c: HACK: Bind fullscreen HW button to 'f' key
Timo Kokkonen [Sun, 22 Nov 2009 09:02:41 +0000 (11:02 +0200)]
input.c: HACK: Bind fullscreen HW button to 'f' key

Unless a better alternative exists, make some hack that allows the
fullscreen mode to be used.

Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
14 years agogps.c: Do not accept location data unless the fix accuracy is within one kilometer.
Timo Kokkonen [Sun, 22 Nov 2009 08:35:58 +0000 (10:35 +0200)]
gps.c: Do not accept location data unless the fix accuracy is within one kilometer.

The first position coming from liblocation might be aquired by network
position and the error can be very large. Thus, it makes sense to not
accept the position data unless the position is accurate enough.

The previous 10km threshold was causing big glitches. 1km threshold
should be more than enough for any normal use cases.

Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
14 years agopath.c: Add a more intelligent "Have we moved enough?" logic
Timo Kokkonen [Wed, 18 Nov 2009 16:32:48 +0000 (18:32 +0200)]
path.c: Add a more intelligent "Have we moved enough?" logic

The old logic did not have any good way of judging whether there was
any reason for adding a track point. Now that liblocation provides us
a rather realistic horizontal accuracy estimate in meters, we can use
that to add track points only when we know the user has really moved
somewhere. This patch rejects all track points when we can estimate
suggests that the movement is within the noise.

In future this should be a configurable threshold with an option to
disable the logic altogether.

Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
14 years agogps.c: Improve GPS data handling
Timo Kokkonen [Wed, 18 Nov 2009 16:13:03 +0000 (18:13 +0200)]
gps.c: Improve GPS data handling

Even if there is no GPS fix available, the coordinates aquired by
network positioning should still be used to move the mark in
approximate location on the map. Furthermore, this patch adds various
checks to see whether the fields in question are really set by
liblocation.

Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
14 years agoEnable ARMv7 optimizations
Timo Kokkonen [Wed, 18 Nov 2009 16:42:50 +0000 (18:42 +0200)]
Enable ARMv7 optimizations

Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
14 years agoHandle speed internally in kilometers per hour
Timo Kokkonen [Thu, 19 Nov 2009 18:22:13 +0000 (20:22 +0200)]
Handle speed internally in kilometers per hour

Previously mapper have been using nautical miles as the internal unit
for measuring speed. This changes the format to kilometers per hour.

Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
14 years agogps.c: When there is no fix available, put the receiver in "RCVR_UP" mode
Timo Kokkonen [Wed, 18 Nov 2009 16:17:46 +0000 (18:17 +0200)]
gps.c: When there is no fix available, put the receiver in "RCVR_UP" mode

If this is not done, a "Searching for a GPS receiver" notification is
shown to user. However, this is not the case. We are not searching for
the receiver, we are trying to acquire GPS fix. Changing the receiver
state correctly fixes this problem. The map mark is also kept moving,
in case there is location information available from network
positioning even though we don't have a GPS fix yet.

Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
14 years agoShow fix accuracy in satellite panel
Timo Kokkonen [Tue, 1 Sep 2009 17:23:02 +0000 (20:23 +0300)]
Show fix accuracy in satellite panel

Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
14 years agogps.c: Add horizontal and vertical accuracy information
Timo Kokkonen [Thu, 19 Nov 2009 19:01:29 +0000 (21:01 +0200)]
gps.c: Add horizontal and vertical accuracy information

-liblocation provides the horizontal accuracy information in
 centimeters. It is being converted to meters before giving to mapper.

-The vertical accuracy information unit is not documented in
 liblocation. It is being divided by 10 in attempt of converting it to
 meters. That way it reflects quite accurately on the fluctuation of
 the actual altitude number. Never the less, 10 is just a guess number
 to make it look right.

Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
14 years agodisplay.c: Change the default colour of unused satellites in gps detail panel
Timo Kokkonen [Mon, 16 Nov 2009 18:47:03 +0000 (20:47 +0200)]
display.c: Change the default colour of unused satellites in gps detail panel

Since the default theme colours in N900 are quite dark, it's bit hard
to see the satellite bars if they are drawn with black color against
the black background. This patch changes the default color to red.

Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
14 years agogps.c: Make the statellite information panel work with liblocation
Timo Kokkonen [Mon, 16 Nov 2009 18:39:34 +0000 (20:39 +0200)]
gps.c: Make the statellite information panel work with liblocation

Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
14 years agoRemove the arbitrary 12 satellite maximum limit
Timo Kokkonen [Mon, 14 Sep 2009 19:15:43 +0000 (22:15 +0300)]
Remove the arbitrary 12 satellite maximum limit

This patch allows there to be MAX_SATELLITES number of satellites in
view, as the 12 satellite limit is insufficient with liblocation. At
this moment it is defined as 24, which should be sufficient.

Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
14 years agoAdd .gitignore
Timo Kokkonen [Mon, 16 Nov 2009 17:17:13 +0000 (19:17 +0200)]
Add .gitignore

Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
14 years agoSave the map position when exiting.
Alberto Mardegan [Fri, 4 Dec 2009 15:28:29 +0000 (17:28 +0200)]
Save the map position when exiting.

14 years agoAdd debug wrapper for g_mutex_lock
Alberto Mardegan [Fri, 4 Dec 2009 13:16:41 +0000 (15:16 +0200)]
Add debug wrapper for g_mutex_lock

14 years agoMaintain the zooming state in the controller
Alberto Mardegan [Wed, 2 Dec 2009 20:14:50 +0000 (22:14 +0200)]
Maintain the zooming state in the controller

14 years agoConnect to the button release signal, not press
Alberto Mardegan [Wed, 2 Dec 2009 20:13:36 +0000 (22:13 +0200)]
Connect to the button release signal, not press

14 years agoVersion 3.0+alpha1 fremantle/3.0+alpha1
Alberto Mardegan [Wed, 2 Dec 2009 18:02:24 +0000 (20:02 +0200)]
Version 3.0+alpha1

14 years agoImplement the tile cache
Alberto Mardegan [Wed, 2 Dec 2009 18:00:54 +0000 (20:00 +0200)]
Implement the tile cache

14 years agoFirst alpha release fremantle/3.0+alpha0
Alberto Mardegan [Tue, 1 Dec 2009 17:10:24 +0000 (19:10 +0200)]
First alpha release

14 years agoAdd (and use) icons made by Raul Arellano
Alberto Mardegan [Tue, 1 Dec 2009 17:00:38 +0000 (19:00 +0200)]
Add (and use) icons made by Raul Arellano

14 years agoDon't draw if unrealized.
Alberto Mardegan [Tue, 1 Dec 2009 16:23:42 +0000 (18:23 +0200)]
Don't draw if unrealized.

14 years agoAfter dragging, update the center in the controller
Alberto Mardegan [Tue, 1 Dec 2009 16:22:43 +0000 (18:22 +0200)]
After dragging, update the center in the controller

This also makes the map redraw in an idle function, increasing responsiveness.

14 years agoUpdate the map in an idle function.
Alberto Mardegan [Tue, 1 Dec 2009 16:16:08 +0000 (18:16 +0200)]
Update the map in an idle function.

14 years agoConditional compilation of Pixbuf map
Alberto Mardegan [Tue, 1 Dec 2009 16:14:35 +0000 (18:14 +0200)]
Conditional compilation of Pixbuf map

Compile out the old map; once we are confident that the new map works properly,
we can remove most of the old code.

14 years agoFix a crash happening with a corrupt DB
Alberto Mardegan [Mon, 30 Nov 2009 18:43:47 +0000 (20:43 +0200)]
Fix a crash happening with a corrupt DB

Also, fix a memory leak.

14 years agoDownload missing tiles
Alberto Mardegan [Mon, 30 Nov 2009 18:43:13 +0000 (20:43 +0200)]
Download missing tiles

14 years agoAdd a method to get the center of the map
Alberto Mardegan [Mon, 30 Nov 2009 18:42:38 +0000 (20:42 +0200)]
Add a method to get the center of the map

14 years agoRework map downloading mechanism
Alberto Mardegan [Mon, 30 Nov 2009 18:40:45 +0000 (20:40 +0200)]
Rework map downloading mechanism

Allow for the same tile download to be requested by different components, all
of which will be notified via a callback of the result of the operation.

14 years agoFix printf parameters
Alberto Mardegan [Mon, 30 Nov 2009 18:38:52 +0000 (20:38 +0200)]
Fix printf parameters

Change it to a g_debug.

14 years agoMove map control functions to MapController
Alberto Mardegan [Sun, 29 Nov 2009 13:04:22 +0000 (15:04 +0200)]
Move map control functions to MapController

14 years agoRedraw overlays when toggling tracks visibility
Alberto Mardegan [Thu, 26 Nov 2009 18:37:46 +0000 (20:37 +0200)]
Redraw overlays when toggling tracks visibility

14 years agoReplace the View/Show submenu with a dialog.
Alberto Mardegan [Tue, 24 Nov 2009 19:32:49 +0000 (21:32 +0200)]
Replace the View/Show submenu with a dialog.

14 years agoAdd setters and getter for the actions in the View/Show menu
Alberto Mardegan [Sat, 21 Nov 2009 17:37:30 +0000 (19:37 +0200)]
Add setters and getter for the actions in the View/Show menu

14 years agoSuppress all compilation warnings
Alberto Mardegan [Sat, 21 Nov 2009 17:49:20 +0000 (19:49 +0200)]
Suppress all compilation warnings

This makes it easier to catch new warnings when compiling many files at once.

14 years agoAdd Controller:set/get_auto_rotate, and use it
Alberto Mardegan [Sat, 21 Nov 2009 16:43:50 +0000 (18:43 +0200)]
Add Controller:set/get_auto_rotate, and use it

Avoid directly accessing the menu items.

14 years agoAdd map_controller_disable_auto_center, and use it
Alberto Mardegan [Sat, 21 Nov 2009 16:16:33 +0000 (18:16 +0200)]
Add map_controller_disable_auto_center, and use it

This will later allow for the removal of the auto-center menu item.

14 years agoCreate View dialog
Alberto Mardegan [Sat, 14 Nov 2009 20:03:24 +0000 (22:03 +0200)]
Create View dialog

This dialog takes two items (auto center and auto rotate) out of the
application menu.
It's activated via the settings icon, instead of the settings menu.

14 years agoModify the settings dialog to use MapDialog
Alberto Mardegan [Sat, 14 Nov 2009 13:46:21 +0000 (15:46 +0200)]
Modify the settings dialog to use MapDialog

14 years agoAdd "Go to" action
Alberto Mardegan [Sat, 14 Nov 2009 13:09:05 +0000 (15:09 +0200)]
Add "Go to" action

14 years agoAdd a row of buttons on the bottom of the screen
Alberto Mardegan [Sat, 14 Nov 2009 10:23:49 +0000 (12:23 +0200)]
Add a row of buttons on the bottom of the screen

Rearrange the buttons, moving the control actions on the bottom of the screen.

14 years agoRename variable
Alberto Mardegan [Sat, 14 Nov 2009 09:42:24 +0000 (11:42 +0200)]
Rename variable

14 years agoAdd GPS button
Alberto Mardegan [Sat, 14 Nov 2009 07:49:12 +0000 (09:49 +0200)]
Add GPS button

Add a GPs button to the OSM and make it toggle the GPS functionality.

14 years agoRemove unused code
Alberto Mardegan [Sat, 14 Nov 2009 07:48:10 +0000 (09:48 +0200)]
Remove unused code

This removes some compilation warnings.

14 years agoIgnore signals coming when GPS is disabled.
Alberto Mardegan [Sat, 14 Nov 2009 07:46:12 +0000 (09:46 +0200)]
Ignore signals coming when GPS is disabled.

After disabling the GPS we get one more signal, which would mess up the
internal state of the application.

14 years agoAdd script to build icons
Alberto Mardegan [Thu, 12 Nov 2009 19:14:47 +0000 (21:14 +0200)]
Add script to build icons

Add a script that is used to composite the icon of the action with the
background of the button (btn-background.png). It makes use of the "composite"
tool, which in ubuntu is provided by the imagemagick package.

Also, add two sample icons for GPS enable/disable (better ones coming soon!)

14 years agoShow track menu when track button is clicked
Alberto Mardegan [Sun, 8 Nov 2009 20:47:21 +0000 (22:47 +0200)]
Show track menu when track button is clicked

14 years agoShow route menu when route button is clicked.
Alberto Mardegan [Sun, 8 Nov 2009 19:38:54 +0000 (21:38 +0200)]
Show route menu when route button is clicked.

14 years agoAdd icons for path and route actions
Alberto Mardegan [Tue, 3 Nov 2009 19:52:59 +0000 (21:52 +0200)]
Add icons for path and route actions

I hope that someday someone will contribute better graphics. :-)

14 years agoDoubleclicks activate the point button
Alberto Mardegan [Fri, 30 Oct 2009 20:42:40 +0000 (22:42 +0200)]
Doubleclicks activate the point button

14 years agoDefine the touchscreen sensitivity
Alberto Mardegan [Fri, 30 Oct 2009 20:42:22 +0000 (22:42 +0200)]
Define the touchscreen sensitivity

14 years agoPort POI menu to fremantle
Alberto Mardegan [Thu, 29 Oct 2009 17:30:17 +0000 (19:30 +0200)]
Port POI menu to fremantle

14 years agomap_screen_get_tap_area_from_units
Alberto Mardegan [Thu, 29 Oct 2009 17:29:46 +0000 (19:29 +0200)]
map_screen_get_tap_area_from_units

Will be used on the next commit

14 years agoFactor some code out of select_poi
Alberto Mardegan [Wed, 28 Oct 2009 19:50:40 +0000 (21:50 +0200)]
Factor some code out of select_poi

Have a separate function to create the model, and another one for running the dialog.
Introduce MapArea type

14 years agoRemove useless comparison
Alberto Mardegan [Wed, 28 Oct 2009 19:19:41 +0000 (21:19 +0200)]
Remove useless comparison

This removes a compilation warning.

14 years agoWorkaround sqlite3_columnt_text crazyness
Alberto Mardegan [Wed, 28 Oct 2009 19:18:04 +0000 (21:18 +0200)]
Workaround sqlite3_columnt_text crazyness

Define a sqlite3_columnt_str() macro which simply casts the result, and use it.

14 years agoRotate POIs according to map rotation
Alberto Mardegan [Wed, 28 Oct 2009 16:30:12 +0000 (18:30 +0200)]
Rotate POIs according to map rotation

14 years agoShow POIs
Alberto Mardegan [Mon, 26 Oct 2009 18:52:23 +0000 (20:52 +0200)]
Show POIs

14 years agoAdd menu for handling waypoints.
Alberto Mardegan [Sun, 25 Oct 2009 09:22:16 +0000 (11:22 +0200)]
Add menu for handling waypoints.

14 years agoFactor out cmenu_way_delete
Alberto Mardegan [Sun, 25 Oct 2009 09:21:58 +0000 (11:21 +0200)]
Factor out cmenu_way_delete

14 years agoPoint chooser dialog
Alberto Mardegan [Sun, 25 Oct 2009 08:56:21 +0000 (10:56 +0200)]
Point chooser dialog

If the point that the user has picked is near a waypoint or POI, we should ask
him to resolve the ambiguity.

14 years agoMapDialog: assign response ID to buttons
Alberto Mardegan [Sun, 25 Oct 2009 08:54:01 +0000 (10:54 +0200)]
MapDialog: assign response ID to buttons

map_dialog_create_button() now takes the dialog response ID as parameter.
Rewrite the code in cmenu to adjust to this change, and also make it so that
the dialog is closed before invoking the action.

14 years agoDevelopment version
Alberto Mardegan [Sat, 24 Oct 2009 14:58:42 +0000 (17:58 +0300)]
Development version

Take the MapScreen class into use. Now the screen is split in half: on the left
there is the old map widget, while the new one is on the right.

This of course will be removed when the clutter widget will reach some
stability.

14 years agoInvoke context menu with point action
Alberto Mardegan [Sat, 24 Oct 2009 14:55:54 +0000 (17:55 +0300)]
Invoke context menu with point action

Take the "point" action into use. Ask the user to pick a point on the map, and
then run the context menu.

So far, only the first item of the original context menu is accessible.

14 years agoUpdate context menu for location
Alberto Mardegan [Sat, 24 Oct 2009 14:50:36 +0000 (17:50 +0300)]
Update context menu for location

Provide a dialog that takes a Point and allows running the context actions from
the location item.
The old context menu is not removed, as it offered more than this.

14 years agoContext menus coordinates in units
Alberto Mardegan [Sat, 24 Oct 2009 14:31:13 +0000 (17:31 +0300)]
Context menus coordinates in units

Convert the coordinates of the context menu into units before executing the
context menus. This will allow us to use the existing signal handlers.

14 years agoAdd MapDialog
Alberto Mardegan [Sat, 24 Oct 2009 13:48:05 +0000 (16:48 +0300)]
Add MapDialog

This class is to be used when creating simple dialogs filled with buttons.

14 years agoConvert screen pixels to map units
Alberto Mardegan [Sat, 24 Oct 2009 11:08:27 +0000 (14:08 +0300)]
Convert screen pixels to map units

Add a static method to covnert screen pixels to map units, taking the rotation
into account.
Factor out that part of the function that can be used in the on_pointer_event
handler.

14 years agoControl input during actions
Alberto Mardegan [Sat, 24 Oct 2009 10:38:21 +0000 (13:38 +0300)]
Control input during actions

While some actions are active, it might be necessary to prevent the
on_pointer_event() to handle events that are being requested by the action (eg.
tap on the screen, rotate the map,...). Here we add two flags to control this.

14 years agoAdd map_screen_show_message()
Alberto Mardegan [Sat, 24 Oct 2009 09:54:38 +0000 (12:54 +0300)]
Add map_screen_show_message()

14 years agoRenamed icon
Alberto Mardegan [Sat, 24 Oct 2009 08:32:42 +0000 (11:32 +0300)]
Renamed icon

The action will not be just adding a point.

14 years agoComplete drawing of route
Alberto Mardegan [Fri, 23 Oct 2009 16:52:04 +0000 (19:52 +0300)]
Complete drawing of route

Draw the waypoints along the route, as well as the next waypoint.
This patch also makes it so that the creation of the cairo context happens only once.

14 years agoPort "Show Position" dialog to maemo5 UI
Alberto Mardegan [Thu, 22 Oct 2009 19:16:59 +0000 (22:16 +0300)]
Port "Show Position" dialog to maemo5 UI

14 years agoDon't recommend connecting if already connected
Alberto Mardegan [Wed, 21 Oct 2009 19:22:21 +0000 (22:22 +0300)]
Don't recommend connecting if already connected

This avoids a possible deadlock that was happening by choosing "Open route...",
cancelling the dialog and then choosing "Download route...".
Two ConIc events (with status connected) are being emitted in a row, when the
"Open route..." dialog is opened. This was probably confusing maemo-mapper.

14 years agoUpdate the route download dialog
Alberto Mardegan [Wed, 21 Oct 2009 18:59:11 +0000 (21:59 +0300)]
Update the route download dialog

14 years agoAdd macro to test string contents
Alberto Mardegan [Wed, 21 Oct 2009 18:58:29 +0000 (21:58 +0300)]
Add macro to test string contents

14 years agoFix a compilation warning
Alberto Mardegan [Wed, 21 Oct 2009 18:56:04 +0000 (21:56 +0300)]
Fix a compilation warning

14 years agoEnable launching the settings menu
Alberto Mardegan [Mon, 19 Oct 2009 18:50:24 +0000 (21:50 +0300)]
Enable launching the settings menu

14 years agoAdd API to launch the settings menu
Alberto Mardegan [Mon, 19 Oct 2009 18:49:54 +0000 (21:49 +0300)]
Add API to launch the settings menu

14 years agoRemove selection of menu location
Alberto Mardegan [Tue, 8 Sep 2009 16:18:55 +0000 (19:18 +0300)]
Remove selection of menu location

maemo-select-menu-location doesn't exist anymore.

14 years agoImplement dragging of the map
Alberto Mardegan [Thu, 15 Oct 2009 17:34:15 +0000 (20:34 +0300)]
Implement dragging of the map

14 years agoAdd the On-Screen Menu
Alberto Mardegan [Wed, 14 Oct 2009 17:39:54 +0000 (20:39 +0300)]
Add the On-Screen Menu

Partial implementation of the on-screen menu.
The current code only allows changing the zoom level and switching between
fullscreen and windowed mode.

14 years agoController: methods for zoom and fullscreen actions
Alberto Mardegan [Wed, 14 Oct 2009 17:38:08 +0000 (20:38 +0300)]
Controller: methods for zoom and fullscreen actions

14 years agoScreen: add methods to zoom in and out
Alberto Mardegan [Wed, 14 Oct 2009 17:37:11 +0000 (20:37 +0300)]
Screen: add methods to zoom in and out

14 years agoAdd a factory method for the controller
Alberto Mardegan [Wed, 14 Oct 2009 17:35:27 +0000 (20:35 +0300)]
Add a factory method for the controller

14 years agoAdd icons
Alberto Mardegan [Tue, 13 Oct 2009 16:07:01 +0000 (19:07 +0300)]
Add icons

14 years agoAdd new object: MapController
Alberto Mardegan [Sun, 11 Oct 2009 09:29:05 +0000 (12:29 +0300)]
Add new object: MapController

14 years agoDraw position and speed mark
Alberto Mardegan [Mon, 28 Sep 2009 18:33:05 +0000 (21:33 +0300)]
Draw position and speed mark

14 years agoAvoid precision errors when drawing tiles
Alberto Mardegan [Sun, 27 Sep 2009 15:49:14 +0000 (18:49 +0300)]
Avoid precision errors when drawing tiles

It's better to keep smaller values for tiles coordinates, since the loss of
precision when converting big integer values to float is quite noticeable.

14 years agoFallback to low-res tiles when a tile is missing
Alberto Mardegan [Sun, 27 Sep 2009 15:24:38 +0000 (18:24 +0300)]
Fallback to low-res tiles when a tile is missing

14 years agoAdd scale and zoom box
Alberto Mardegan [Sun, 27 Sep 2009 11:25:34 +0000 (14:25 +0300)]
Add scale and zoom box

14 years agoImplement drawing of paths
Alberto Mardegan [Sun, 27 Sep 2009 10:04:57 +0000 (13:04 +0300)]
Implement drawing of paths

Draw paths on a ClutterCairoTexture, which is a child actor of the map.
Introduce an additional actor group specifically for grouping the tiles.

14 years agoAdd fast square root function
Alberto Mardegan [Sun, 27 Sep 2009 10:04:40 +0000 (13:04 +0300)]
Add fast square root function

14 years agoUse ClutterCairoTexture
Alberto Mardegan [Sat, 26 Sep 2009 09:35:03 +0000 (12:35 +0300)]
Use ClutterCairoTexture

14 years agoAdd API to toggle compass visibility
Alberto Mardegan [Tue, 22 Sep 2009 16:09:10 +0000 (19:09 +0300)]
Add API to toggle compass visibility

14 years agoAdd compass in the lower right corner of the screen
Alberto Mardegan [Tue, 22 Sep 2009 15:47:11 +0000 (18:47 +0300)]
Add compass in the lower right corner of the screen

This brings in a dependency to cairo, which we were indirectly using already.

14 years agoCreate the MapTile class
Alberto Mardegan [Sat, 12 Sep 2009 10:43:26 +0000 (13:43 +0300)]
Create the MapTile class

Factor out the tile handling into a separate class. This module will be
responsible for tile loading and caching.

14 years agoBasic implementation of the map widget
Alberto Mardegan [Thu, 10 Sep 2009 17:45:32 +0000 (20:45 +0300)]
Basic implementation of the map widget

This is a very basic implementation: it only supports showing the tiles already
in the DB, with no caching or optimizations.
Rotation is also implemented.

14 years agoAdd class for clutter rendering
Alberto Mardegan [Tue, 8 Sep 2009 15:12:21 +0000 (18:12 +0300)]
Add class for clutter rendering

Add dependencies to clutter and clutter-gtk, and a stub class that will be used
to render the map and the various items on it.