esri-leaflet
Current version: 3.0.19
This package provides the core building blocks for working with feature layers, map tile and image services, and raster data. It also includes tools for querying, finding, identifying features, and customizing requests.
Install
Below are instructions to install Esri Leaflet and its dependencies. You can install it via NPM for use in CommonJS environments or include it directly in your HTML using CDN links.
NPM
You can install the plugin as a Common JS module via NPM:
npm install leaflet --save
npm install esri-leaflet --saveCDN
You can also include esri-leaflet using script tags in your HTML.
<!-- Leaflet -->
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css"/>
<script src="https://unpkg.com/leaflet@1.9.4/dist/leaflet.js"></script>
<!-- Esri Leaflet -->
<script src="https://unpkg.com/esri-leaflet@3.0.19/dist/esri-leaflet.js"></script>