esri-leaflet-vector
Current version: 4.3.1
This plugin provides support for displaying vector tile basemaps and vector tile layers from ArcGIS services. It also supports right-to-left text rendering.
Install
Below are instructions to install Esri Leaflet Vector 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 --save
npm install esri-leaflet-vector --save
CDN
You can also include esri-leaflet-vector
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>
<!-- Esri Leaflet Vector -->
<script src="https://unpkg.com/esri-leaflet-vector@4.3.1/dist/esri-leaflet-vector.js"></script>