OpenLayers and ArcGIS location services

This guide describes how to use OpenLayers and ArcGIS REST JS to access ArcGIS location services to build mapping and spatial analysis applications.

OpenLayers using the basemap layer, geocoding, routing, and demographics location service.

Get started

Sign up for an account and get an API key.

Key concepts

Learn how to develop with OpenLayers and location services.


Follow step-by-step tutorials to access location services.



Learn how to create and display maps with basemap layers.


Learn how to add different types of data layers to maps.

Query and edit

Learn how to work with feature layers and feature services.

Style and data visualization

Learn how to style data layers and basemap layers for maps.

Geocode and search

Learn how to find addresses, businesses, and places with the geocoding service.

Route and directions

Learn how to find a route and directions and service areas with the routing service.

Demographic data

Learn how to get demographic data with the GeoEnrichment service.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.