修正默认中心和缩放级别
This commit is contained in:
parent
fc2cb61d8e
commit
e8bdd36d0c
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue