Releases: Esri/esri-leaflet-vector
v4.0.1
v4.0.0
v3.1.5
v3.1.4
v3.1.3
v3.1.2
v3.1.1
v3.1.0
Added
-
L.esri.Vector.vectorTileLayer
has been extended to support vector tiles layers hosted in ArcGIS Enterprise. A newportalUrl
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 MercatorspatialReference
are fully supported. #95 -
Updated peerDependencies to be more flexible for using v3 of
esri-leaflet
. #99
Fixed
- Utility functions used by
L.esri.Vector.vectorTileLayer
have been improved to be more friendly with URL structures and style reformatting assumptions. #100
v3.0.1
Fixed
-
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
Changed
- The layer constructor option
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 caseapiKey
continues to be allowed since [3.0.0]. #89
v3.0.0
Breaking
-
L.esri.Vector.basemap
is nowL.esri.Vector.vectorBasemapLayer
and requires an API key (apiKey
) or token (token
). -
L.esri.Vector.layer
is nowL.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>