100% found this document useful (1 vote)
39 views

Arcgis Api For Javascript Working With Your Data

The document discusses working with feature layers in ArcGIS API for JavaScript, including bringing portal feature layers into apps, styling layers, querying data from servers and interacting with data in memory, and new features like 2D point clustering. Feature layers can be powered by feature services, feature collections, or client-side data like CSV or GeoJSON. Visualization styles, popups, labeling, queries, and interactions allow communicating and analyzing spatial data in apps.

Uploaded by

D.Worku
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
39 views

Arcgis Api For Javascript Working With Your Data

The document discusses working with feature layers in ArcGIS API for JavaScript, including bringing portal feature layers into apps, styling layers, querying data from servers and interacting with data in memory, and new features like 2D point clustering. Feature layers can be powered by feature services, feature collections, or client-side data like CSV or GeoJSON. Visualization styles, popups, labeling, queries, and interactions allow communicating and analyzing spatial data in apps.

Uploaded by

D.Worku
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 17

ArcGIS API for JavaScript: Working With

Your Data with the Feature Layer


Ben Ramseth
Topics covered

• Types of feature layers


• Feature Layer powered by dynamic feature tiles
• Visualization styles
• Popups to communicate information
• Bringing portal feature layer into your app
• Labelling
• Query the data from the server
• Interact with the data in memory
Feature Layer powered by

• Feature Services
• Feature Collections
• Client side data
- CSV: SDK sample
- GeoJSON: Plenary
Feature Layer

• Feature Layer powered by dynamic feature tiles


• Visualization styles
• Popups to communicate information
Bringing a feature layer into your app

• FeatureLayer by URL
const layer = new FeatureLayer({
url: "https://<url to my server>/FeatureServer",
layerId: 0,
renderer: { ... },
popupTemplate: { ... },
});

map.add(layer);

Demo
Bringing a feature layer into your app

• Restrict data retrieved from the feature service


- to work with a subset of features
- to remove features with null attributes.

layer.definitionExpression = "STATE_NAME = 'California'";

Demo
Bringing a feature layer into your app

• FeatureLayer by portal item

• Demo
Bringing a feature layer into your app

• Alternative: using Layer.fromPortalItem()

• Demo
Bringing portal feature layer into your app
Webmap Demo
Symbology, etc...
Labelling

• Label features to show relevant information at a glance


- Multiline labels
- Multiple label classes
Query the data from the server

• queryFeatures()
• queryFeatures() - by distance
• queryFeatures() - pagination
• queryAttachments()
• queryRelatedFeatures()
Interact with the data in memory

• when is the layerview ready


• when is the layerview updating
• add interactivity by querying the layerview
• filter & effect

• Demo
What's new for the feature layer at version 4.14

• Release notes for 4.14


- 2D Point Clustering (beta)
- Time related updates
- Guide page exposing color ramps
- Client-side geometry changes
- Smart Mapping enhancements
• Release notes for 4.13
- Attribute driven composite symbols
- Performance Improvements
• Release notes for 4.12
- Time
- Client-side queries in 3D
- Smart Mapping updates
Let's have some questions...
Thanks for attending
Please Share Your Feedback in the App

Download the Esri


Select the session Scroll down to Log in to access the Complete the survey
Events app and find
you attended “Survey” survey and select “Submit”
your event
Demo Title
Presenter(s)

You might also like