Fixes some bugs

This commit is contained in:
Paul Schneider 2017-02-28 15:30:22 +01:00
commit b0f81edeac
2 changed files with 4 additions and 3 deletions

View file

@ -41,8 +41,8 @@
var pos = loc.geometry.location;
var lat = new Number(pos.lat);
var lng = new Number(pos.lng);
$('#'+config.latId).val(lat.toLocaleString('en'));
$('#'+config.longId).val(lng.toLocaleString('en'));
$('#'+config.latId).val(lat.toLocaleString('fr'));
$('#'+config.longId).val(lng.toLocaleString('fr'));
gmap.setCenter(pos);
if (marker) { 
marker.setMap(null);