乐趣区

关于arcgis:arcgis-for-js基础缩放和定位功能

援用了两个包
'esri/widgets/Zoom'

var zoom = new Zoom({view: this.view});
zoom.zoomOut(); 
var zoom = new Zoom({view: this.view});
zoom.zoomIn(); 

视角定位
"esri/geometry/Point"

let pt = new Point(点位);
this.view.goTo(pt)
退出移动版