El 05/05/13 12:44, OpenSourceWay escribió:
> Hello devs !
>
> I'm a Linux and Thunderbird user, but also a french OpenStreetMap
> contributor.
>
> Yesterday, I discovered Google Maps is the only map provider available
> in Thunderbird in the adress book (when the postal adress is filled).
> I also remembered Mozilla fought against Internet Explorer included by
> default in all the Windows OS Systems, and Mozilla won this little
> battle, now a "choice your default browser" is included, and I think
> it's a good thing.
> I also know Mozilla receive money from Google to be the by default
> search engine in Firefox, but not to be the default map provider in
> Thunderbird.
>
> I think you can help this project which can be Mozilla's brother :
> OpenStreetMap :)
> What I suggest, is when the user click on the "view on map" button, a
> popup is shown asking for a choice between differents maps provider.
> Technically the OpenStreetMap adress can be
>
http://openstreetmap.org/?q=ADRESS
There is no UI to configure Thunderbird Address Web Search, but you
can do it through the advanced configuration (Edit|Tools ->
Preferences|Options -> Advanced -> General -> "Config editor" button).
Once there, filter using this key:
mail.addr_book.mapit_url.format
The default value is:
http://maps.google.es/maps?q=@A1%20@CI%20@ST%20@ZI%20@CO
You can change it to:
http://openstreetmap.org/?query=@A1%20@CI%20@ST%20@ZI%20@CO
However, I've tried with a local address in Spain and OSM failed to
resolve it. I've then tried again removing different parts of the
address directly in the OSM website and it still failed to find it.
However, the location is correctly mapped in OSM:
http://www.openstreetmap.org/?lat=40.407953&lon=-3.749224&zoom=18&layers=M
The same syntax with the same address data works in Google Maps. As
you are for sure more used to ask for locations with OSM, maybe you
can propose changes in the query syntax so OSM works. We could then
propose to add a document in Mozilla Support.
HTH
--
Ricardo Palomares (RickieES)
http://www.mozilla-hispano.org/
http://www.proyectonave.es/
https://diasp.eu/u/rickiees