[maemo-users] [maemo-users] Re: mamo-mapper_1.3.4mg1 vs. maemo-mapper_1.3.4 ?

From: Marius Gedminas marius at pov.lt
Date: Sun Jan 21 22:02:28 EET 2007

On Sun, Jan 21, 2007 at 12:42:58PM +0100, Armin M. Warda wrote:
> the application installer on my Nokia 770 offers to update 
> installed maemo-mapper 1.3.4 with 1.3.4mg1 from your 
> repository at http://mg.pov.lt/770/dists/mistral/experimental/
> In the corresponding source package's changelog I read:
> maemo-mapper (1.3.4mg1) unstable; urgency=low
>   * Apply patch by Albertas Agejevas for Microsoft Virtual Earth
>     compatibility (http://fridge.pov.lt/~alga/maemo-ve-1.3.4.patch).
>  -- Marius Gedminas <mgedmin at b4net.lt>  Sat, 20 Jan 2007 18:28:42 +0200
> That's it?


> What URI do you use for MS-VE?

Dunno :)  My friend doesn't have Scratchbox installed (lack of disk
space), and he asked me to build a patched Maemo Mapper for him.  I
haven't used it myself yet.

The URLs are something like


and the patched Maemo Mapper constructs the 'r123...' sequence if you
ask for it with %v.  It's a bit of a shame, really, because if you
replace the 'r' with a 's' you get a satellite map, and 'h' would give
you a hybrid map.  If '%v' would return just the numbers without the
hardcoded 'r' prefix, you could choose between the three maps easily.
Shouldn't be that hard to do, just change

  *ptr++ = initial;


  if (initial) *ptr++ = initial;


       map_convert_coords_to_quadtree_string(tilex, tiley, zoom, location,
                                             'r', "0123");


       map_convert_coords_to_quadtree_string(tilex, tiley, zoom, location,
                                             '\0', "0123");

in the patch.

I asked Albertas to send that patch upstream.  I don't know whether he
has done that already.  I've added him to the Cc: list.

Marius Gedminas
One picture is worth 128K words.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.maemo.org/pipermail/maemo-users/attachments/20070121/277be4eb/attachment.pgp 
More information about the maemo-users mailing list