---
title: Setting Openstreetmap as default in Thunderbird’s contacts
author: Max
type: post
date: 2014-09-28T10:40:42+00:00
url: /2014/setting-openstreetmap-as-default-in-thunderbird-contacts/
yourls_shorturl:
- http://s.mehl.mx/y4Tse
categories:
- English
- Tech
tags:
- contacts
- email
- free software
- guide
- howto
- maps
- thunderbird
- tutorial
---
[
][1]If you use Thunderbird and its contact functionality, you might already have stumbled over the „show on map“ feature. If you add addresses to your contacts (no matter if directly in Thunderbird or via CalDAV) there appears a button which enabled you to open a map with the contact’s location.
The default search provider is Google Maps. If you don’t like this service and prefer free and open systems like me, you can also add [openstreetmap.org][2] as your default map service. You only have to change a value in the advanced configuration.
Open the _Settings_ menu, select the __ panel, select the __ tab, and click __
You should now see the default value. It’s nothing more than an URL with variables defined by the street, the country or the postal code of the respective contact. If you want to use Openstreetmap, fill in this value:
https://www.openstreetmap.org/search?query=@A1+@A2+@CI+@ST+@ZI+@CORestart Thunderbird and test again with an existing contact. By clicking on the button you should now see OSM instead of Google Maps where you can select one of the results in the left sidebar. Congratulations! **Further reading:** For more information about Thunderbird’s config editor, see the official [knowledgebase entry][3] If you want to set other variables in the map query, there’re some hints on [Mozilla’s Hidden prefs guide][4] [1]: /uploads/tb-map-contact.png [2]: http://openstreetmap.org [3]: https://support.mozilla.org/en-US/kb/config-editor [4]: https://developer.mozilla.org/en-US/docs/Mozilla/Thunderbird/Hidden_prefs