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

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

 



Hi,

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?

Yes.

> 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

  http://r3.ortho.tiles.virtualearth.net/tiles/r12030003131122.png?g=45

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;

to

  if (initial) *ptr++ = initial;

and

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

to

       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.

Cheers,
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 


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Big List of Linux Books]    

  Powered by Linux