All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
3.1.0 - 2021-08-09
-
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
- Utility functions used by
L.esri.Vector.vectorTileLayer
have been improved to be more friendly with URL structures and style reformatting assumptions. #100
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
- 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
3.0.0 - 2021-01-25
-
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>
- New basemaps! 🙏pmacMaps🙏
DarkHumanGeography
DarkHumanGeographyDetail
ChartedTerritory
MidCentury
Nova
- Added support for deeper zoom by artificially capping tile requests at zoom level 15.
- Existing basemaps have been updated to
v2
- Esri's OpenStreetMap Vector basemap
mapbox-gl-js
is now an external dependency. it is no longer bundled internally.
<link rel="stylesheet" href="https://unpkg.com/mapbox-gl/dist/mapbox-gl.css"/>
<script src="https://unpkg.com/mapbox-gl/dist/mapbox-gl.js"></script>
<!-- Esri Leaflet -->
<script src="https://unpkg.com/esri-leaflet/dist/esri-leaflet.js"></script>
<script src="https://unpkg.com/esri-leaflet-vector/dist/esri-leaflet-vector.js"></script>
- several edge cases that corrupted the current state of the map
- now using Esri's latest and greatest basemaps
- Ensure that when a tileMap is present in an ArcGIS Pro published tileset, that its url is concatenated correctly #20
- Fixed a regression which caused
L.esri.Vector.Layer
not to honor custom styles applied to generic Esri hosted vector tilesets (example item)
L.esri.Vector.layer
can now be used to display Vector Tile Services published using ArcGIS Pro. (like this one)
L.esri.Vector.layer
object added so that developers can point at any arbitrary ArcGIS Online hosted vector tile source
- trapped situation in which vector style json defines path of sprites/glyphs using fully qualified paths.
- made dependency on Leaflet fixed at
1.0.0-beta.2
(until #47 is resolved) - started linting all the
.js
in the repo
- Added three new Vector basemaps. Mid-Century, Newspaper and Spring.
- added .npmignore file to ensure built library is included in npm package.
- Initial Release