Migrate to ArcGIS location services
Follow these steps to migrate your existing app to use ArcGIS location services.
This information is intended for developers who have an existing app and would like to update it to use ArcGIS location services. Use the current version to ensure that you have access to the latest capabilities.
To use any of the ArcGIS location services, your app must provide authentication with an access token. Access tokens define the scope and permissions available to your application.
There are three kinds of access tokens:
- API key: a permanent token that grants your application access to ready-to-use services.
- ArcGIS identity: a temporary token generated with OAuth 2.0 that gives your application access to the private content and ready-to-use services available to an existing ArcGIS user's account.
- Application credentials: a temporary token generated with OAuth 2.0 that authorizes access to ready-to-use services.
You can provide your API key when your app starts by setting it on
This sets a global API key that will be used to access all ArcGIS location services used by your app. If needed, you can override this key by explicitly setting a different key on layers, basemaps, or any other classes that use platform location services (those that implement the
You can set an API key directly on the basemap or default to a global API key if one is set for the app.
Access to routing and directions APIs is unchanged with the new ArcGIS location services introduced with ArcGIS Platform. While authentication has always been required to access these services, you now have the ability to use these services with an API key in addition to ArcGIS identity.
See the Find routes and directions topic for more information.
See all the Location services available.