diff --git a/chrome/content/mailhops.js b/chrome/content/mailhops.js index ecf78df..821ef3c 100644 --- a/chrome/content/mailhops.js +++ b/chrome/content/mailhops.js @@ -67,6 +67,8 @@ mailHops.loadPref = function() mailHops.options.client_location = mailHops.getCharPref('mail.mailHops.client_location',''); mailHops.options.api_url = mailHops.getCharPref('mail.mailHops.api_url','http://api.mailhops.com'); + + mailHops.options.map_provider = mailHops.getCharPref('mail.mailHops.map_provider','OpenStreetMap.Mapnik'); if(mailHops.options.client_location == ''){ mailHops.setClientLocation(function(response){ diff --git a/chrome/content/mailhopsMap.xul b/chrome/content/mailhopsMap.xul index defe109..7d3080e 100644 --- a/chrome/content/mailhopsMap.xul +++ b/chrome/content/mailhopsMap.xul @@ -9,6 +9,12 @@ title="MailHops Map" buttonlabelcancel="Close"> + +