-
graphic
Graphic
Graphic 用於表示特征。
默認值:null
例子:
let graphic = new Graphic({ geometry: view.center, attributes: { "name": "Spruce", "family": "Pinaceae", "count": 126 }, symbol: new SimpleMarkerSymbol({ style: "square", color: "blue", size: "8px" }), popupTemplate: { content: [ { // Set popup template content } ] } });
基本信息
以下是所在類或對象的基本信息。
AMD:
require(["esri/widgets/Feature"], (Feature) => { /* code goes here */ });
ESM:
import Feature from "@arcgis/core/widgets/Feature";
類:
esri/widgets/Feature
繼承: Feature > Widget > Accessor
自從:用於 JavaScript 4.7 的 ArcGIS API
用法說明
Feature.graphic
函數(或屬性)的定義如下:
相關用法
- JavaScript ArcGIS Feature.visible用法及代碼示例
- JavaScript ArcGIS Feature.container用法及代碼示例
- JavaScript Feature.when用法及代碼示例
- JavaScript ArcGIS Feature.map用法及代碼示例
- JavaScript ArcGIS Feature.classes用法及代碼示例
- JavaScript ArcGIS Feature.headingLevel用法及代碼示例
- JavaScript Feature.on用法及代碼示例
- JavaScript ArcGIS FeatureLayer.queryExtent用法及代碼示例
- JavaScript ArcGIS FeatureLayer.when用法及代碼示例
- JavaScript FeatureForm.when用法及代碼示例
- JavaScript ArcGIS FeatureLayer refresh事件用法及代碼示例
- JavaScript ArcGIS FeatureLayer.getFieldDomain用法及代碼示例
- JavaScript ArcGIS FeatureLayer.queryFeatureCount用法及代碼示例
- JavaScript FeatureForm.getValues用法及代碼示例
- JavaScript FeatureForm.visible用法及代碼示例
- JavaScript ArcGIS FeatureLayer.formTemplate用法及代碼示例
- JavaScript ArcGIS Feature用法及代碼示例
- JavaScript FeatureForm.classes用法及代碼示例
- JavaScript ArcGIS FeatureLayer.relationships用法及代碼示例
- JavaScript ArcGIS FeatureLayer.objectIdField用法及代碼示例
- JavaScript ArcGIS FeatureReductionCluster用法及代碼示例
- JavaScript ArcGIS FeatureLayer.opacity用法及代碼示例
- JavaScript ArcGIS FeatureSnappingLayerSource用法及代碼示例
- JavaScript FeatureTemplates.on用法及代碼示例
- JavaScript ArcGIS FeatureLayer.queryRelatedFeatures用法及代碼示例
注:本文由純淨天空篩選整理自arcgis.com大神的英文原創作品 Feature.graphic。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。