Display a layer from a WFS service, requesting only features for the current extent.
WFS is an open standard with functionality similar to ArcGIS feature services. Runtime support for WFS allows you to interoperate with open systems, which are often used in inter-agency efforts, like those for disaster relief.
Pan and zoom to see features within the current map extent.
- Create a
WfsFeatureTable
with a URL. - Create a
FeatureLayer
from the feature table and add it to the map. - Add a
NavigationChangedListener
to the map view and listen for aNavigationChangedEvent
. Check if itisNavigating()
to detect when the user has stopped navigating the map. - When the user is finished navigating, use
populateFromServiceAsync(...)
to load the table with data for the current visible extent.
- FeatureLayer
- WfsFeatureTable
- WfsFeatureTable.populateFromServiceAsync
This service shows building footprints for downtown Seattle. For additional information, see the underlying service on ArcGIS Online.
browse, catalog, feature, interaction cache, layers, OGC, service, web, WFS