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 <[EMAIL PROTECTED]>  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.

Attachment: signature.asc
Description: Digital signature

_______________________________________________
maemo-users mailing list
maemo-users@maemo.org
https://maemo.org/mailman/listinfo/maemo-users

Reply via email to