General
Yes, OpenLayers is a supported API that you can use to build applications with ArcGIS location services.
Go to OpenLayers and ArcGIS on Esri Community.
Go to the Github repo.
The ol-mapbox-style
library, provided by the OpenLayers developers, allows you to create a map from Mapbox Style Specification objects in an OpenLayers application. You use the library to display default and custom ArcGIS basemap layer styles.
To learn how to use ol-mapbox-style
to add an ArcGIS basemap styles, go to Migration.
ArcGIS services
OpenLayers has built in functionality to access the following ArcGIS services:
- Basemap styles service (using the
ol-mapbox-style
library) - Feature service (via GeoJSON)
- Vector tile service
- Map tile service
You can also access other services such as the geocoding service, routing service, and GeoEnrichment service by using ArcGIS REST JS. To find examples, go to Search, Routing, and Demographics.
ArcGIS location services
Yes, you need need to provide an API key or implement another type of authentication to access ArcGIS location services.
ArcGIS Enterprise services
For services that are private, yes, you need to provide authentication to access ArcGIS Enterprise services. You typically implement OAuth 2.0 to do so. Public services do not require authentication.
To learn more about the different types of authentication, go to Types of authentication.
No. The services are no longer maintained or recommended for use by Esri.
To learn more about ArcGIS location services and capabilities, go to the Mapping and location services guide.
To learn more about ArcGIS Enterprise services and capabilities, go to the REST API documentation.
Service usage and billing
You need either an ArcGIS Location Platform account or ArcGIS Online account. This will give you the ability to access the portal, create developer credentials, and manage your data.
The cost to access ArcGIS location services depends on the type of ArcGIS account you have and the service operation you use.
-
If you have an ArcGIS Location Platform account, you are billed in US dollars. To determine the cost of accessing different services, go to Pricing. A free tier of access is available for some services.
-
If you have an ArcGIS Online account, you are billed in credits. To determine the cost of accessing different services, go to Understanding credits.
If you have ArcGIS Enterprise, there is no cost for accessing your own ArcGIS services.
To learn about accounts, content and data, and basemap layer attribution, go to Deployment.
To find the Esri Terms of Use, go to Terms of use.