From 61b70129777add483e1d65ff3d61d2ce9546f4b3 Mon Sep 17 00:00:00 2001 From: wlx Date: Wed, 17 Sep 2014 13:57:19 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=A4=A9=E5=9C=B0=E5=9B=BEbu?= =?UTF-8?q?g?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/default/views/scripts/search/advance.phtml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/application/default/views/scripts/search/advance.phtml b/application/default/views/scripts/search/advance.phtml index 306334a8..70e861f4 100644 --- a/application/default/views/scripts/search/advance.phtml +++ b/application/default/views/scripts/search/advance.phtml @@ -93,10 +93,10 @@ function InputValueChange(){ var p4=new TLngLat($(input.east).val(),$(input.south).val()); map.setViewport(new Array(p1,p2,p3,p4)); - var west=$(input.west).val(); - var east=$(input.east).val(); - var north=$(input.north).val(); - var south=$(input.south).val(); + var west=parseFloat($(input.west).val()); + var east=parseFloat($(input.east).val()); + var north=parseFloat($(input.north).val()); + var south=parseFloat($(input.south).val()); var bounds = new TBounds(west,south,east,north); rect = new TRect(bounds); map.addOverLay(rect);