Fixes some bugs
This commit is contained in:
parent
238af7655c
commit
b0f81edeac
2 changed files with 4 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue