Skip to content

Latest commit

 

History

History
166 lines (100 loc) · 6.3 KB

CHANGELOG.md

File metadata and controls

166 lines (100 loc) · 6.3 KB

Change Log

All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.

3.1.0 - 2021-08-09

Added

  • 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

Fixed

  • 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

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 case apiKey continues to be allowed since 3.0.0. #89

3.0.0 - 2021-01-25

Breaking

  • 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>

Added

  • New basemaps! 🙏pmacMaps🙏
    • DarkHumanGeography
    • DarkHumanGeographyDetail
    • ChartedTerritory
    • MidCentury
    • Nova

Fixed

  • Added support for deeper zoom by artificially capping tile requests at zoom level 15.

Changed

  • Existing basemaps have been updated to v2

Added

Breaking Change

  • 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>

Fixed

  • several edge cases that corrupted the current state of the map

Changed

  • now using Esri's latest and greatest basemaps

Fixed

  • Ensure that when a tileMap is present in an ArcGIS Pro published tileset, that its url is concatenated correctly #20

Fixed

  • Fixed a regression which caused L.esri.Vector.Layer not to honor custom styles applied to generic Esri hosted vector tilesets (example item)

Added

  • L.esri.Vector.layer can now be used to display Vector Tile Services published using ArcGIS Pro. (like this one)

Added

  • L.esri.Vector.layer object added so that developers can point at any arbitrary ArcGIS Online hosted vector tile source

Fixed

  • trapped situation in which vector style json defines path of sprites/glyphs using fully qualified paths.

Changed

  • made dependency on Leaflet fixed at 1.0.0-beta.2 (until #47 is resolved)
  • started linting all the .js in the repo

Fixed

Fixed

  • added .npmignore file to ensure built library is included in npm package.

1.0.0

Added

  • Initial Release