Skip to content

v2.0.0

Compare
Choose a tag to compare
@jgravois jgravois released this 19 Aug 00:13

Breaking Changes

  • Namespace change (L.esri.Cluster.clusteredFeatureLayer is now L.esri.Cluster.featureLayer )
  • repository and npm package have been renamed esri-leaflet-clustered-feature-layer for brevity's sake

Added

  • The build system has been 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

Removed

  • bindPopup and unbindPopup logic have been removed from this plugin. Equivalent functionality is available via L.Layer in Leaflet itself.
clusterLayer.bindPopup(function (layer) {
  return "attribute value is: " + layer.feature.properties.ATTRIBUTENAME;
})