← Back to team overview

ubuntu-phone team mailing list archive

Re: configure start location of OSMTouch

 

El día Saturday, June 13, 2015 a las 11:42:32AM +0300, Simos Xenitellis escribió:

> On Sat, Jun 13, 2015 at 11:19 AM, Matthias Apitz <guru@xxxxxxxxxxx> wrote:
> > When I start OSMTouch it is positioned somewhere near Calais. Is it
> > possible to configure the first location, for example to Taufkirchen
> > (near Munich) or Havana (Cuba).
> 
> The default location is hardcoded at
> https://bazaar.launchpad.net/~yohanboniface/osmtouch/trunk/view/head:/OSMTouch.qml#L100
> You may either ask politely the author of the app to make that default
> to be configurable.
> 
> Or, you can clone the source, edit that default location by changing
> it to your preferred coordinates, then upload your new app.
> 
> Or, you can connect to the phone with phablet-shell, then do what is
> required to change those coordinates (risky if you do not pay
> attention).

Thanks for your hint. In my BQ E4.5 r22 the data is in some other file, but
with your hint I found it:

root@ubuntu-phablet:/userdata/system-data/opt/click.ubuntu.com/me.yohanboniface.osmtouch/0.2.1/components# ls -l MapPa*
-rw-r--r-- 1 clickpkg clickpkg 12415 jun 13 12:09 MapPage.qml
-rw-r--r-- 1 clickpkg clickpkg 12416 jun 13 12:05 MapPage.qml.Havana
-rw-r--r-- 1 clickpkg clickpkg 12408 dic  7  2014 MapPage.qml.orig
-rw-r--r-- 1 clickpkg clickpkg 12415 jun 13 12:09 MapPage.qml.Taufkirchen

	matthias
-- 
Matthias Apitz, guru@xxxxxxxxxxx, http://www.unixarea.de/ +49-170-4527211    +49-176-38902045
"Wenn der Mensch von den Umständen gebildet wird, so muß man die Umstände menschlich bilden."
"Si el hombre es formado por las circunstancias entonces es necesario formar humanamente
las circunstancias", Karl Marx in Die heilige Familie / La sagrada familia (MEW 2, 138)


References