This commit is contained in:
parent
067201dbce
commit
fb43f63cb2
|
@ -276,11 +276,6 @@ const init = () => {
|
|||
// map.setMapType(window.TMAP_SATELLITE_MAP);
|
||||
map.centerAndZoom(new T.LngLat(121.88356, 29.45144), 13);
|
||||
dropdown.hinegh = document.body.clientHeight * 0.45;
|
||||
setTimeout(() => {
|
||||
dropdown.hinegh = dropdown.hinegh + 300;
|
||||
console.log(dropdown.hinegh);
|
||||
}, 2000);
|
||||
|
||||
control = new T.Control.Zoom();
|
||||
//添加缩放平移控件
|
||||
map.addControl(control);
|
||||
|
|
Loading…
Reference in New Issue