Re: Getting started using libchamplain

On Sat, 2009-10-17 at 11:29 +0100, Simon Pickering wrote:
> I would like to use libchamplain in an app I'm writing for the Nokia
> N900 (Maemo 5/Fremantle) device. I've compiled and installed the
> library itself (version 0.4.0) and have tested the examples. 
Cool, I should try to get a N900 too.

> They all run, but none of them download any maps.
> Taking launcher-gtk as an example, I can zoom, change the map source,
> add/remove the marker layer, but no matter what I do, or how long I
> wait, no maps are downloaded. Is this something missing from the
> example?
But, but that could be a bug.  Try running the demos this way:
CHAMPLAIN_DEBUG=network demos/launcher-gtk
CHAMPLAIN_DEBUG=all demos/launcher-gtk

This will provide you with debug information, and you will at least know
if tiles are being downloaded.  I assume you are not even seeing the
error tile? (which is a grey tile with an X at the upper left corner).

Last time I was able to try libchamplain on a Maemo 5 device, it was
almost 3 months before the 0.3.0 release, therefore, there is a lot of
code that changed since.  Plus, we were using Clutter 0.8 back then.
Once of the issue I had back then was that the map would disapear as
soon as I would move it.  It seems to be about the same issue you are
having!  But I didn't investigate it further.

May be the coordinate system is miss computed on it...


Attachment: signature.asc
Description: This is a digitally signed message part

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]