Permalink
Browse files

Leaflet based maps now respect current language

  • Loading branch information...
1 parent ae9606e commit e84f3cd1c6f87e6cf00ce9e6d83d250844c4ccae @yuvipanda yuvipanda committed Jan 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 assets/www/js/geo.js
View
@@ -20,7 +20,7 @@ function getCurrentPosition() {
geomap.setView(new L.LatLng(lat, lon), 13);
var ping = function() {
var pos = geomap.getCenter();
- geoLookup(pos.lat, pos.lng, 'en', function(data) {
+ geoLookup(pos.lat, pos.lng, preferencesDB.get("language"), function(data) {
geoAddMarkers(data);
}, function(err) {
alert(err);

0 comments on commit e84f3cd

Please sign in to comment.