改变默认范围

This commit is contained in:
wlx 2014-06-20 11:37:15 +00:00
parent c7a72f41f9
commit 6e4dd17690
1 changed files with 2 additions and 3 deletions

View File

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