要素图层的介绍
作者:互联网
引用:"esri/layers/FeatureLayer"
var featureLayer = new FeatureLayer({
url:"https://services.arcgis.com/V6ZHFr6zdgNZuVG0/arcgis/rest/services/Landscape_Trees/FeatureServer/0"});
再将要素图层放入二维地图底图中
"esri/Map"
"esri/views/MapView"
var map = new Map({
basemap:"hybrid"});
map.add(featureLayer);
var view = new MapView({
map:map,
container:"viewDiv",
extent:{
xmin:-9177811,
ymin:4247000,
xmax:-9176791,
ymax:4247784,
spatialReference:102100}});
要素图层:
叠加图:
标签:要素,map,FeatureLayer,介绍,var,new,图层,esri 来源: https://www.cnblogs.com/GIS-Yangol/p/10397853.html