Skip to content

Releases: Esri/esri-leaflet

v2.1.3

14 Feb 18:52
Compare
Choose a tag to compare

Added

  • new ImageryClarity basemapLayer (🙏Biboba🙏 #1047)
  • dynamic attribution for WorldImagery basemap layer to attribute local Community Maps content providers

Fixed

  • smarter check for custom coordinate systems #1045)
  • removed rogue Proj4 console errors in webpack/browserify apps
  • caught the last few non ES6 imports from Leaflet (🙏finneganh🙏 #1050)

v2.1.2

05 Jan 00:40
Compare
Choose a tag to compare

Fixed

  • improved support for custom wkid:3857 tiled basemaps with custom properties #1039)
  • image is now the default format for ImageMapLayer (🙏nickpeihl🙏 #998)
  • improved response parsing when no objectIdFieldName or esriFieldTypeOID are returned (🙏Saulzi🙏 #1009)
  • improved cleanup when map instances are destroyed (🙏jfolds🙏 #1029)

Added

  • It is now possible for layers to pass through arbitrary custom request parameters (🙏Biboba🙏 #1036)
  • QueryTask.returnM(bool) (🙏jmfolds🙏 #1002)
  • QueryTask.distinct() (🙏joelondon🙏 #1027)
  • DynamicMapLayer has a new popup constructor option so that custom IdentifyFeatures parameters can be passed through (🙏Biboba🙏 #1031)
  • more tests for existing features! (🙏Biboba🙏 #1037, #1035)

Removed

  • unused shallowClone utility method

v2.1.1

11 Aug 19:59
Compare
Choose a tag to compare

Fixed

  • made Leaflet a peerDependency so that folks using WebPack can install v1.1.x without problems or duplication in their bundles
  • added UTF 8 to L.esri.request headers

Changed

  • now using npm-run-all for concurrent, cross platform script running

v2.1.0

27 Jul 21:41
Compare
Choose a tag to compare

Added

  • error handling has been added to classes that extend L.ImageOverlay #941 thank you@Saulzi!
  • dynamicMapLayer now supports an option to bust server side caches #942
  • identifyFeatures and find now support requesting unformatted responses from ArcGIS Server 10.5+ map services #961
  • identifyFeatures now supports passing through input geometries other than points #962 thank you@bbehling!
  • dynamicMapLayer and imageMapLayer now support polar projections #975 thank you@scaddenp!
  • query now supports datum transformations #976

Fixed

  • in imageMapLayer, noData values of 0 are now handled correctly #946
  • ensure that eachActiveFeature correctly handles all geometry types #948
  • layer definitions are now passed through when binding a popup to dynamicMapLayer #957
  • ensure definition queries are applied to invisible layers #964 thank you@jordanparfitt!

1.0.5

26 Apr 18:39
Compare
Choose a tag to compare

Fixed

  • ensure we don't try to set opacity on non-existent images #909

v2.0.8

21 Mar 23:08
Compare
Choose a tag to compare

Changed

  • dynamicMapLayer popups now retrieve generalized geometries from map services to improve performance. #921
  • queries for features are no longer fired outside the layer's artificially constrained zoom level #928 (thank you@keithpower!)
  • ES6 syntax is now used to import selected Leaflet dependencies. #920

Fixed

  • errors are no longer encountered when panning the map outside the artificially constrained zoom level of a previously drawn dynamicMapLayer #917 (thank you@jordanparfitt!)
  • the value range returned by IdentifyFeatures.simplify() has been reversed for consistency with Query.simplify() #921
  • features are no longer accidentally drawn when the map is panned to a new location outside the artificially constrained zoom level of the layer. #924 (thank you@keithpower!)

Added

  • In situations where a feature layer supports the geojson format, but it is deemed preferable to ask for Esri Geoservices JSON instead, developers can now set isModern: false as a constructor option. #935 (thank you@spoilsportmotors!)
  • an eachActiveFeature() method has been added to Layers.FeatureLayer in order to isolate features in the cache that are currently being displayed. #936
  • Tasks.Query now has two new spatial operators. bboxIntersects and indexIntersects. #937

v2.0.7

10 Jan 17:04
Compare
Choose a tag to compare

Fixed

  • its now possible to call setOpacity() immediately after instantiating a RasterLayer #909 (thank you@Saulzi!)
  • L.TileLayer maxNativeZoom is now honored by tiledMapLayer #904
  • an error is no longer thrown when a RasterLayer is added to the map at a zoom level outside its own custom restraint #903
  • addfeature is no longer emitted twice when FeatureLayer.setWhere() is called #893

Changed

  • RasterLayer now exposes a public redraw() method #905
  • an inline base64 encoded transparent image is now substituted for missing tiles #902
  • the addfeature event is no longer triggered when features are fetched and drawn for the very first time #893

v2.0.6

17 Nov 01:02
Compare
Choose a tag to compare
  • withCredentials is no longer set for CORS requests. #890

Fixed

v2.0.5

16 Nov 20:09
Compare
Choose a tag to compare

Fixed

  • DynamicMapLayer image overlays now utilize a proxy when appropriate #862
  • DynamicMapLayer.layerDefs provided as a string are now serialized correctly #866 (thank you@whyvez!)
  • We no longer ask for raw geojson from ArcGIS Online proxied services that can't provide it. #876
  • Copyright text for TiledMapLayer is now displayed automatically when the map has a custom projection. #877
  • When a null extent is encountered by L.esri.Query, no matter its form, an Invalid Bounds error is passed in the callback. #879
  • L.esri.request now sets the generic withCredentials header when appropriate #881

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