Arcgis server web application leaflet

Yes, Esri Leaflet is a fully supported API to use with ArcGIS services.

Do I need to use Leaflet with Esri Leaflet?

Yes. Esri Leaflet is a plug-in, therefore, you need to reference Leaflet.js and Leaflet.css in your application. To learn how to reference the libraries, go to Install and set up.

Can I use Esri Leaflet with Leaflet Version 1.x?

Yes! version 2.x of Esri Leaflet is compatible with Leaflet version 1.x.

If you'd like to continue building applications that target Leaflet 0.7.x, please use Esri Leaflet 1.x.

What browsers are supported?

Most modern browsers and versions of Node.js are supported. Go to Browser support to see the specific browser versions.

Where can I find the Esri Leaflet community?

You can find the official community at Esri Community.

What's the difference between the Esri Leaflet and ArcGIS API for JavaScript?

In general, Esri Leaflet is a smaller and lighter-weight library for accessing ArcGIS services.

You may want to use Esri Leaflet if you:

You may want to use ArcGIS API for JavaScript if you:

Does Esri Leaflet provide support for web maps?

No. To work with web maps, you should use the ArcGIS API for JavaScript.

Where should I ask questions or post issues?

Feel free to ask questions in the Esri community or Stack overflow. You can report issues in the Esri Leaflet GitHub repository.

How can I contribute to Esri Leaflet?

To contribute, create an issue and pull request in the Esri Leaflet GitHub repository.

Where should I go to learn about ArcGIS-specific terminology?

ArcGIS services

Which ArcGIS services can I access with Esri Leaflet?

Esri Leaflet has built in functionality to access the following ArcGIS services:

You can also access other services such as the routing service or GeoEnrichment service by using request or ArcGIS REST JS. To see examples of how to use ArcGIS REST JS, go to Routing and Demographics.

Do I need to provide authentication to access ArcGIS services?
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.

Which versions of ArcGIS Server are supported?

In general Esri Leaflet supports any version of ArcGIS Server that is not retired. You view supported versions of ArcGIS Server on Product Life Cycle.

If you server is not setup for CORS (pre 10.1) you will either need to setup CORS on your server or set the useCORS option to false when using Esri Leaflet.

ArcGIS Server 9.3 is not supported. There are known bugs with L.esri.DynamicMapLayer.

Can I use the old ArcGIS raster map tile services?

No. The services are no longer maintained and recommended for use by Esri.

Where can I learn more about ArcGIS location services available?

To learn more about ArcGIS location services and capabilities, go to the Mapping and location services guide.

Where can I learn more about ArcGIS Enterprise services available?

To learn more about ArcGIS Enterprise services and capabilities, go to the REST API documentation.

Service usage and billing

What type of account do I need to access ArcGIS location services?

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.

How much does it cost to access ArcGIS location services?

The cost to access ArcGIS location services depends on the type of ArcGIS account you have and the service operation you use.

  1. 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.
  2. If you have an ArcGIS Online account , you are billed in credits . To determine the cost of accessing different services, go to Understanding credits .
How much does it cost to access my own ArcGIS Enterprise services?

If you have ArcGIS Enterprise, there is no cost for accessing your own ArcGIS services.

Where can I learn more about deploying my application?

To learn about accounts, content and data, and basemap layer attribution, go to Deployment.

Where can I find Esri's Terms of Use?

To find the Esri Terms of Use, go to Terms of use.