修正默认中心和缩放级别

This commit is contained in:
wlx 2014-06-20 09:37:04 +00:00
parent fc2cb61d8e
commit e8bdd36d0c
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();