esri-leaflet-vector
Advanced tools
Changelog
[3.1.0] - 2021-08-09
L.esri.Vector.vectorTileLayer
has been extended to support vector tiles layers hosted in ArcGIS Enterprise. A new portalUrl
layer constructor option was added and is intended to be used with the "ITEM_ID" constructor flavor. #97
New README documentation and a developer console warning for L.esri.Vector.vectorTileLayer
explaining that only services with a Web Mercator spatialReference
are fully supported. #95
Updated peerDependencies to be more flexible for using v3 of esri-leaflet
. #99
L.esri.Vector.vectorTileLayer
have been improved to be more friendly with URL structures and style reformatting assumptions. #100Changelog
[3.0.1] - 2021-06-03
While formatting the style object when loading a new L.esri.Vector.vectorTileLayer
, check first if layer layout property exists before accessing. (🙏jag-eagle-technology🙏 #70)
Support style items with non-esri source names. #91
apikey
in all lowercase is now supported and encouraged in order to be consistent with the rest of esri-leaflet's ecosystem. Note that camel case apiKey
continues to be allowed since [3.0.0]. #89Changelog
[3.0.0] - 2021-01-25
L.esri.Vector.basemap
is now L.esri.Vector.vectorBasemapLayer
and requires an API key (apiKey
) or token (token
).
L.esri.Vector.layer
is now L.esri.Vector.vectorTileLayer
.
Simplified imports. mapbox-gl-js v1
continues to be a depedency but is bundled internally with production builds.
<!-- Leaflet -->
<link rel="stylesheet" href="https://unpkg.com/leaflet/dist/leaflet.css" />
<script src="https://unpkg.com/leaflet/dist/leaflet.js"></script>
<!-- Esri Leaflet and Esri Leaflet Vector -->
<script src="https://unpkg.com/esri-leaflet/dist/esri-leaflet.js"></script>
<script src="https://unpkg.com/esri-leaflet-vector@3/dist/esri-leaflet-vector.js"></script>