laptop and a wrench

不具合

The Editor widget allows users to select and edit all features on a feature layer although the feature layer is instantiated with a selection mode and only a subset of features is displayed in the map.

最後に公開された状態: July 27, 2016 ArcGIS API for JavaScript
不具合 ID 番号 BUG-000097727
送信されましたJuly 13, 2016
最終更新日June 5, 2024
適用対象ArcGIS API for JavaScript
見つかったバージョン3.17
オペレーティング システムN/A
ステータスWill Not Be Addressed

参考情報

Adding a feature layer to the map in a selection mode. API is doing what it is supposed to do. It is selecting features that intersect where you clicked on the map. That is what selection mode does. If you wish to edit features that meet only certain criteria than set the definitionExpression on the featureLayer. The editor will only allow users to edit the features that meet the definitionExpression. In the jsBin code I added the following line after where it creates the new feature layer. I confirmed that it works. It will only let you select features that meet definition expression criteria. Here the code… Layer("https://sampleserver6.arcgisonline.com/arcgis/rest/services/PoolPermits/FeatureServer/0", { mode: FeatureLayer.MODE_SELECTION, outFields: ["*"], opacity: 0.75 }); //added this line below noPermitFeatureLayer.setDefinitionExpression("apn = '234240014'"); var query = new Query(); query.where = "apn = '234240014'"; noPermitFeatureLayer.selectFeatures(query, FeatureLayer.SELECTION_NEW);

再現の手順

不具合 ID: BUG-000097727

ソフトウェア:

  • ArcGIS API for JavaScript

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動