laptop and a wrench

不具合

Loading the feature layer with WKID: 2326 using SceneView in ArcGIS Map SDK JavaScript results in an intermittent warning in the Console [Graphic in layer has incompatible spatial reference and will not render] which causes the layer to not load fully.

ArcGIS Maps SDK for JavaScript
不具合 ID 番号 BUG-000160735
送信されましたAugust 17, 2023
最終更新日June 1, 2025
適用対象ArcGIS Maps SDK for JavaScript
見つかったバージョン4.26
オペレーティング システムWindows OS
オペレーティング システムのバージョン11.0 64 bit
修正されたバージョン2023.3 / 4.28
ステータスFixed

対処法

After setting the query return format to JSON (the default format is PBF), the issue no longer occurs. Therefore, it is possible to monitor service requests within the program and modify the value of the supportedQueryFormats parameter in the request response to JSON. This ensures that all subsequent query requests use the JSON format for data transmission and parsing.

Here is the sample code to modify the value of the supportedQueryFormats parameter in the request response to JSON:

esriConfig.request.interceptors.push({

        urls: /FeatureServer\/\d+$/,

        after: function (response) {

           response.data.supportedQueryFormats = "JSON";

        }

      })

Here is the full HTML code with the supportedQueryFormats: https://codepen.io/ChungEsri/pen/KKbKNOL?editors=1000

再現の手順

不具合 ID: BUG-000160735

ソフトウェア:

  • ArcGIS Maps SDK for JavaScript

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

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

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

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

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

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

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