Extends L.Layer

L.esri.Vector.Layer uses an experimental plugin to display vector tile services and attribute data providers appropriately. The Terms of Use for Esri hosted services apply to all Leaflet applications.


Constructor Description
L.esri.Vector.layer(<String> id, , <Object> options) key refers to the specific vector tile layer you'd like to add.
Hosted Vector Basemaps

Esri has designed and shared many vector basemaps in ArcGIS Online. Basemaps with "Local Language" in the name provide support for local languages at large scales.

Disclaimer: In Esri Leaflet, only one vector tile source can be drawn at a time.

Custom Vector Tiles

The ArcGIS Vector Tile Style Editor can be used to customize any of Esri's hosted vector basemaps without duplicating the data behind it. Whether you've made a small tweak to a hosted vector basemap or used ArcGIS Pro to publish a vector tile service with your own data from scratch, you can draw the layer in Esri Leaflet by referencing the item's id.


L.esri.Vector.Layer accepts all L.Layer options.


L.esri.Vector.Layer inherits all methods from L.Layer.


<script src="./esri-leaflet-vector.js"></script>
var map = L.map('map').setView([37.75, -122.45], 12);


// World Navigation Map (Local Language)
// https://www.arcgis.com/home/item.html?id=72be31d1fa6a42fc895d9a3c0fd8aeef

Edit this page on GitHub