Query to Get All Features in the ArcGIS API for JavaScript

When you’re querying a Feature Service in the ArcGIS API for JavaScript, there’s typically a maximum number of features (records) that will be returned from any query – usually set to 1000. If you want to get all the features in the service, you’ll need to make multiple queries to the service. Here’s how to do it.

My Favorite ArcGIS JavaScript API CodePens

Here are some of my favorite code samples I’ve collected on my CodePen account over the past few years.

Easter Dates

How often does Easter fall on a particular date, and how often does my birthday fall within Easter or Lent?

View more blog posts

Open Data and Maps

Thumbnail image for St. Louis Lambert International Airport Data

St. Louis Lambert International Airport Data

Thumbnail image for City of St. Louis, Missouri Open Data

City of St. Louis, Missouri Open Data

Thumbnail image for World Countries Centroids

World Countries Centroids

Thumbnail image for Interesting Earth

Interesting Earth

Thumbnail image for NAVA Annual Meetings

NAVA Annual Meetings

Thumbnail image for Split Polygon Demo

Split Polygon Demo

View more: Open Data - Maps

About

Picture of Gavin RehkemperHi! I'm a technology enthusiast in St. Louis, MO. I work for Esri as a software engineer. I have experience in a range of technologies including JavaScript, PHP, Python. In my free time, I develop web apps, maintain open data, and create maps and visualizations. Read more