From e8bdd36d0ce39207e037cb46d2e62f99afb0b2bc Mon Sep 17 00:00:00 2001 From: wlx Date: Fri, 20 Jun 2014 09:37:04 +0000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E9=BB=98=E8=AE=A4=E4=B8=AD?= =?UTF-8?q?=E5=BF=83=E5=92=8C=E7=BC=A9=E6=94=BE=E7=BA=A7=E5=88=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/default/views/scripts/search/advance.phtml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/application/default/views/scripts/search/advance.phtml b/application/default/views/scripts/search/advance.phtml index d0833bb9..4157a038 100644 --- a/application/default/views/scripts/search/advance.phtml +++ b/application/default/views/scripts/search/advance.phtml @@ -41,12 +41,11 @@ $(function() { }); var bounds = null; var rect = null; -var map,zoom=10,rectTool; -var rectangle; +var map,zoom=6,rectTool; var input = {east:'#east',west:'#west',north:'#north',south:'#south'}; //加载地图 -var myLatlng = new TLngLat(105.819946,35.656456); +var myLatlng = new TLngLat(97,38); map = new TMap("map_canvas"); map.centerAndZoom(myLatlng,zoom); map.enableHandleMouseScroll();