arcgis for js鍒涘缓闅忓湴鍥剧缉鏀剧殑鐐?/a>

Posted 鍙嬩汉A

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了arcgis for js鍒涘缓闅忓湴鍥剧缉鏀剧殑鐐?/a>相关的知识,希望对你有一定的参考价值。

鎬濊矾锛?br>鍥惧眰浼氳窡闅忓湴鍥剧缉鏀撅紝鎵€浠ュ垱寤轰竴涓渾鏀捐繘鑷畾涔夋覆鏌撳浘灞?br>浠g爜瀹炵幇锛?br>寮曞叆浜嗗洓涓寘锛岃繖涓紩鍖呮柟寮忓彲浠ョ湅鐪嬩箣鍓嶇殑鏂囩珷锛堝拰proxy鍒濇缁撳悎锛?br>GraphicsLayer銆丼impleFillSymbol銆丟raphic銆丆ircle
鍘熶綔鑰?a href="https://segmentfault.com/u/yourena_5d7207ca8f870">馃憠馃憠馃憠
https://segmentfault.com/u/yo...

const GraphicsLayer = await arcgisPackage.GraphicsLayer;
const SimpleFillSymbol = await arcgisPackage.SimpleFillSymbol;
const Graphic = await arcgisPackage.Graphic;
const Circle = await arcgisPackage.Circle;
let graphicCirCle = new GraphicsLayer();

var symbol = {
    color: [255, 85, 0, 0.9],
    style: "solid",
    outline: {
      color: [255, 85, 0, 0.9],
      width: 1,
    },
};
var circle = new Circle({
  center: [i.lon, i.lat], //涓績鐐瑰潗鏍囧氨鏄?[缁忓害,绾害]
  numberOfPoints: 80, //娌垮渾寮ф洸绾跨殑鐐规暟
  geodesic: true, //涓嶈€冭檻鍦板舰鍥犵礌
  radius: 100, //鍗婂緞鍗曚綅M
});
var sfs = new SimpleFillSymbol(symbol);
graphicCirCle.add(new Graphic(circle, sfs));


map.add(graphicCirCle)

以上是关于arcgis for js鍒涘缓闅忓湴鍥剧缉鏀剧殑鐐?/a>的主要内容,如果未能解决你的问题,请参考以下文章

浠庡ご鍒涘缓鎮ㄨ嚜宸辩殑vue.js鈥斺€旂2閮ㄥ垎(铏氭嫙DOM鍩虹)

濡備綍鍒涘缓 http2 node App

鍥剧殑绠楁硶---寮楁礇浼婂痉绠楁硶

uniapp canvas 璁板綍涓€涓嬬敾鍥剧殑闂

shell鍒涘缓鏁版嵁搴撶殑鑴氭湰

Delphi TWebBrowser[7] 鑾峰彇缃戦〉鍥剧墖锛堥潤鎬佸拰鍔ㄦ€侊級