|
@@ -61,8 +61,8 @@ function getLocation() {
|
|
|
}
|
|
|
})
|
|
|
var coord = new qq.maps.LatLng(res.latitude, res.longitude)
|
|
|
- longitude = res.longitude;
|
|
|
- latitude = res.latitude;
|
|
|
+ longitude = parseFloat(res.longitude);
|
|
|
+ latitude = parseFloat(res.latitude);
|
|
|
$("#commit").removeAttr("disabled",true).css("pointer-events","");
|
|
|
$("#commit").css("background-color","#1AAD19").css("color","#FFFFFF");
|
|
|
$("#dingwei").hide();
|