Oceansno longer contains map labels, labels have been added as another keyOceansLabels.L.esri.FeatureLayerno longer inherits fromL.GeoJSONand as a result no longer hasgetBounds,bringToBackorbringToFrontoraddDatamethods.- L.esri.Util.geojsonBounds has been removed. If you need to get the bounding box of a GeoJSON object please use Terraformer or
L.GeoJSON. - Many other utility methods have been removed. If you were using methods in the
L.esri.Utilnamespace please check that they exist. - Layers no longer fire a
metadataevent. They now have ametadatamethod that can be used to get layer metadata. If you need to convert extents into L.LatLngBounds you can useL.esri.Util.extentToBounds. L.esri.DynamicMapLayerno longer inherits fromL.ImageOverlayas a result thesetUrlmethod no longer exists.- You can no longer pass a
clusterobject toL.esri.ClusteredFeatureLayer, instead pass any options you want to pass toL.MarkerClusterGroupdirectly toL.esri.ClusteredFeatureLayer. - You can no long pass a string for the
layerDefsoption onL.esri.DynamicMapLayer. Layer definitions should now be passed as an object like{'0':'STATE_NAME='Kansas' and POP2007>25000'} - You can no longer pass a string for the
layersoption onL.esri.DynamicMapLayeryou can now only pass an array of layer ids that will be shown like[0,1,2]. - The
createMarkermethod onL.esri.ClusteredFeatureLayerhas been renamed topointToLayer.
- Added
OceansLabelstoL.esri.BasemapLayer. Oceanshas switched to the new Ocean basemap with out labels.L.esri.FeatureLayerhas been refactored into several classes.L.esri.FeatureGridandL.esri.FeatureManagernow handle loading and querying features from the service.L.esri.ClusteredFeatureLayerandL.esri.HeatMapFeatureLayernow inherit fromL.L.esri.FeatureManager` so they share many new methods and options.L.esri.FeatureLayer,L.esri.ClusteredFeatureLayerandL.esri.HeatMapFeatureLayernow support time enabled service viafrom,to,timeFieldsandtimeFilterModeoptions andsetTimeRange(from, to)andgetTimeRange()methods.L.esri.FeatureLayer,L.esri.ClusteredFeatureLayerandL.esri.HeatMapFeatureLayernow supportwhereoptions and have new methods forsetWhere()andgetWhere()to perform filtering.L.esri.FeatureLayernow supports generalizing polygon and polyline features on the service side for performance using the newsimplifyFactoroption.- Don't throw errors when
L.esri.BasemapLayeris added to maps without an attribution control. If you do not add attribution you must handle adding attribution your self to the map. - Remove rbush. Switch to tracking feature ids with the cell key system.
- Remove
L.esri.Util.geojsonBoundsas it was only being used to create bounds and envelopes for rbush. - add
bindPopupmethod toL.esri.DynamicMapLayer. - add
getTimeRangeandsetTimeRangemethodsL.esri.DynamicMapLayer. - New
L.esri.Servicesnamespace to handle generic abstraction of interacting with ArcGIS Online and ArcGIS server services. - new
L.esri.Services.Servicebase class that can be used for interacting with any service. AllL.esri.Layersclasses now usesL.esri.Services.Serviceinternally for their API requests. This class also abstracts authentication and proxying. - new
L.esri.Services.FeatureLayerclass for interacting with the Feature Layer API. - new
L.esri.Services.MapServiceclass for interacting with the Map Server API. - new
L.esri.Tasksnamespace for tasks that map to individual API methods. - new
L.esri.Tasks.Queryclass for interacting with the Feature Layer query API. - new
L.esri.Tasks.Identifyclass for interacting with Map Servers that support identify.
- Patches a bug with identifying features on DynamicMapLayer
- Various updates and fixes to examples
- Heat map layer - http://esri.github.io/esri-leaflet/heatmaplayer.html
- Geocoder - http://esri.github.io/esri-leaflet/findplaces.html
- Authentication for ClusteredFeatureLayer https://github.com/Esri/esri-leaflet/commit/d23ddd99ee86bb7255e4d89b6cf3f339a441c88b
- Removed Terraformer as a dependency to cut down on build size and complexity. The neccessary * * * Terraformer methods have been ported into L.esri.Util. This cuts a whomping 15kb from the build!
- Fix for DynamicMapLayer that is outside of min/max zoom levels https://github.com/Esri/esri-leaflet/commit/0d2c2c36ed6ccbad96e0ab24c24cc48f43079ade
- Fix for layerDefs in DynamicMapLayer https://github.com/Esri/esri-leaflet/commit/1375bbf2768ba0fb6806f51c09a3d6fa192521d9
- Add HeatmapFeatureLayer based on Leaflet.heat
- Add where and fields options to FeatureLayer and ClusteredFeatureLayer, and HeatmapFeatureLayer
- Add bounds property to the metadata event when possible #216
- Improve DynamicMapLayer panning and zooming performance. #137
- FeatureLayer and ClusteredFeatureLayer can now load features from map services. Thanks to @odoe and @jgravois.
- FeatureLayer, DynamicMapLayer and ClusteredFeatureLayer all accept a token option for accessing services that require authentication and fire a
authenticationrequiredevent when they encounter a need for a token. Thanks to @aaronpk for the Oauth demos. #139 - Add DarkGray and DarkGrayLabels to BasemapLayer. #190
- An attributionControl on maps is now required when using BasemapLayer. #159