操作方法

操作方法:在 ArcGIS Web AppBuilder 的过滤器微件中,根据 CSV 数据创建图层选择

Last Published: July 20, 2023

摘要

In ArcGIS Web AppBuilder, the Filter widget limits the visibility of features in a layer when the expression criteria is specified. As the Filter widget references data from a hosted feature layer, adding the CSV data to the widget requires the CSV file to be published as a hosted feature layer. This article provides the workflow to enable the Filter widget in ArcGIS Web AppBuilder to reference a layer selection created from a CSV data.

过程

  1. Upload the CSV file to ArcGIS Online as a hosted feature layer. Refer to ArcGIS Online: Publish a CSV file for instructions to do this.
  2. In ArcGIS Online, create the web app. Refer to ArcGIS Web AppBuilder: Create your first app for more information.
  3. Click the Widget tab, and select any of the numbered widget placeholder to open the Choose Widget window.
  4. Select the Filter widget.
  5. Click OK.
Selecting the Filter widget from the Choose Widget window
  1. In the Configure Filter window, click New filter.
  2. Select the hosted feature layer in the Layer drop-down menu.
  3. Click OK.
Selecting the hosted feature layer from the Layer drop-down menu in the Configure Filter window

The image below displays the ArcGIS Web AppBuilder with the enabled Filter widget referencing the hosted feature layer created from the CSV data file.

The Filter widget referencing the hosted feature layer created from the CSV data file.

文章 ID: 000026253

获得人工智能支持

使用 Esri Support AI Chatbot 快速解决您的问题。

立即开始聊天

相关信息

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

立即开始聊天

转至下载选项