Skip to content

Releases: Esri/esri-leaflet-vector

v4.0.1

23 Feb 20:16
Compare
Choose a tag to compare

Fixed

  • Switching basemaps issue (#162)

Updated

  • Updated dependencies (#163)

v4.0.0

02 Sep 19:00
Compare
Choose a tag to compare

Updated

  • Switched to use Maplibre GL JS (#141)

v3.1.5

23 Aug 15:31
Compare
Choose a tag to compare

Fixed

  • Fixed issue where layer is mis-aligned with map when panning the map off screen (#144)

Updated

  • Updated dependencies

v3.1.4

12 Aug 14:52
Compare
Choose a tag to compare

Fixed

  • Added "Powered by Esri" when adding a layer via item ID for consistency (#135)

v3.1.3

23 May 15:06
Compare
Choose a tag to compare

Fixed

  • Offset issue when zooming out to levels 0 or 1 (#127)

Updated

  • Updated dependencies

v3.1.2

03 Mar 20:51
Compare
Choose a tag to compare

Added

  • TypeScript types file (#114)

Updated

  • Updated dependencies and changed build-related settings to be consistent with Esri Leaflet (#122)

v3.1.1

09 Nov 20:23
Compare
Choose a tag to compare

Fixed

  • Map panning was broken in some environments due to a specific mapbox-gl-js version. Pinning this library's package.json specifically to mapbox-gl-js v1.13.1 fixes the issue. #105

v3.1.0

09 Aug 18:30
Compare
Choose a tag to compare

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

v3.0.1

03 Jun 17:05
Compare
Choose a tag to compare

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

v3.0.0

25 Jan 22:44
Compare
Choose a tag to compare

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>