Skip to content

Releases: Esri/esri-leaflet

v2.0.4

18 Oct 23:31
Compare
Choose a tag to compare

Changed

  • The default maximum width of Leaflet's attribution control is now 55px
    less than the map itself #842

Added

  • A custom width crop can be configured via L.esri.options.attributionWidthOffset #849
  • L.esri.query now supports GeoJSON MultiPolygons #866 (thank you@whyvez!)

Fixed

  • Last references to global namespaces have been removed from L.esri.Util #852 (thank you@hamhands!)
  • started linting our test suite
  • responseToFeatureCollection now uses a case insensitive regex to look for common indexing field names
  • GeoJSON / geoJSON casing is now used consistently

v2.0.3

15 Sep 23:31
Compare
Choose a tag to compare

Added

  • attribution from service metadata is now automatically displayed in Leaflet's attribution control for all layer types #832, #842 (thank you@tyleralves!)
  • Powered by Esri is now displayed in Leaflet's attribution control when any layer type is added to the map, not just L.esri.basemapLayer.
  • the attribution control is restricted to a single line, but expands to show all data contributors on mouse hover.
  • support for DynamicMapLayer services that require a token to be passed in a request for raw images #830 (thank you@jaredbrookswhite!)

v2.0.2

03 Aug 22:02
Compare
Choose a tag to compare

Added

  • support for ImageMapLayer services that require a token to be passed in a request for raw images #812
  • more graceful handling of stubborn TiledMapLayer services #810

Fixed

  • bug which resulted in global map scope creep #814
  • bug which caused distortion in featureLayer display #814

Changed

  • Attribution text which is displayed for hosted Esri basemaps is now 'Powered by Esri'

v2.0.1

16 Jul 15:03
Compare
Choose a tag to compare

Added

  • users can now pass tokens to basemapLayer #800

Fixed

  • to avoid broken tile thumbnails, a generic blank tile is referenced automatically by tiledMapLayer. #784
  • ensure addfeature and removefeature events are emitted when featureLayers are added to and removed from the map. #788
  • base64 dynamicMapLayer responses are now parsed appropriately #796

Changed

  • the esri logo is no longer displayed when hosted basemaps are used. It has been replaced by '© Esri' in the map attribution. #783
  • Internal methods used to display dynamic attribution for tiled services with supporting static services were moved into L.esri.Util. #799

1.0.4

04 Jul 00:58
Compare
Choose a tag to compare

Fixed

  • ensure we remove all Esri logos from the map #795
  • ensure addfeature and removefeature events are emitted when L.esri.featureLayers are added to and removed from the map. #788

2.0.0

04 May 17:50
Compare
Choose a tag to compare

Added

  • new 'USATopo' L.esri.basemapLayer option.
  • boilerplate issue template

Fixed

  • Worked around IE10,11 bug that caused L.esri.featureLayers not to draw #770
  • Ensured L.esri.imageMapLayer are overlaid appropriately at world scale #774
  • Ensured copyright text makes it into the minified, concatenated build of the library
  • create script tag after JSONP callback function is defined #762

v2.0.0-beta.8

29 Feb 21:01
Compare
Choose a tag to compare

Changed

  • Build system refactored to use latest Rollup and Rollup plugins.
  • Reworked bundling directives for various modules systems to resolve and simplify various issues
    • WebPack users no longer have to use the Babel loader.
    • Babelify with Babel 6 now works

Added

1.0.3

22 Feb 18:00
Compare
Choose a tag to compare

Fixed

  • Ensure all visual relics of L.esri.dynamicMapLayer are removed outside minZoom and maxZoom defined for the layer #744

v2.0.0-beta.7

01 Jan 18:34
Compare
Choose a tag to compare

Breaking

  • L.esri.Util.arcgisToGeoJson is now arcgisToGeoJSON

Added

  • updated website to show off our 2.x API (compatible with Leaflet 1.0.0-beta.2) and include API reference for supported plugins.
  • new npm script to watch/recompile source

Changed

Fixed

  • resolved bug that caused data to display outside a specified min/maxZoom
  • edge case affecting time aware layers
  • bug which caused null to sometimes be written to the attribution control (thanks brianbancroft!)
  • made sure relevant node script commands are OS agnostic

1.0.2

01 Jan 00:58
Compare
Choose a tag to compare

Fixed

  • Make sure appropriate behavior is encountered when removing feature layers from the map while web requests are pending. #691