Extends L.Layer

L.esri.Vector.Layer uses an experimental plugin to display v1 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.
Custom Vector Tile Services

Whether you've made a small tweak to one of Esri's hosted vector basemaps or published your own vector tile service from scratch you can draw the layer in Esri Leaflet by referencing the item's id.

See this blog for more information: https://blogs.esri.com/esri/arcgis/2015/11/19/how-to-customize-esri-vector-basemaps/


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);

Edit this page on GitHub