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();