ArcGIS Developers
Menu
Documentation
Features
Pricing
Support
Search
Search
Sign In
Esri Leaflet
Sample Code
Home
Sample Code
API Reference
Plugins
GitHub
Menu
Featured
Basemap layers
Display a basemap layer
Display a basemap layer with labels
Add two basemap layers
Switch between basemap layers
Switch between basemap layers (Control.Layers)
Display a RTL label language
Feature layers
Display a feature layer
Style points
Style lines
Style polygons
Display a popup
Simplify complex features
Zoom to all features
Zoom to a subset of features
Add static text labels
Control feature layer drawing order
Add and delete features
Draw and edit shapes
Add a dynamic chart (Chart.js)
Visualization
Display a heat map
Style a heat map
Cluster points
Style clusters
Display feature layer symbols
Tile layers
Display a tile layer
Display a custom tileset
Dynamic map layers
Display a dynamic map layer
Identify features
Display a popup
Filter by date range (map service)
Image map layers
Display an image map layer
Define a rendering rule
Define a mosaic rule
Identify imagery
Display a popup with pixel data
Filter by date range (image service)
Projection
Project and display a feature layer
Project and display a dynamic map layer
Query
Query a feature layer
Query a feature layer (advanced)
Display a feature layer snapshot
Perform a spatial query
Perform a spatial query (no map)
Filter by date range (feature service)
Query client and server-side (Turf.js)
Geocoding
Search with a geocoding control
Search for feature data (map service)
Search for feature layer data (feature service)
Set different search modes
Center the map on a geocoded address
Reverse geocode
Authentication
Sign in with an ArcGIS account
Access premium content
Generate a token
Services
Access multiple location services
Display a stream layer
Run a geoprocessing task