Release Candidate 1
Pre-release
Pre-release
patrickarlt
released this
14 Oct 20:47
·
1268 commits
to master
since this release
Breaking Changes
- Task methods that accept callbacks (like
run
orbounds
) now return an instance ofXMLHttpRequest
as opposed to the task or service. bindPopup
onL.esri.DynamicMapLayer
now identifies only visible features by default rather then all features.- All API requests inside of layers, tasks and services will now switch between GET and POST automatically when the request size exceeds 2000 characters. This improves IE compatibility but means that for long requests (like complex
where
clauses or long lists of IDs) you may need to setup an instance of https://github.com/Esri/resource-proxy and use theproxy
option.
Changes
L.esri.Task
now acceptsproxy
anduseCors
likeL.esri.Service
. #359- Esri Leaflet can now be used in Common JS (Browserify) and AMD (Dojo, RequireJS) module loaders. A Browserify example and RequireJS example are available. #355
- Esri Leaflet installs properly via NPM #353
- Source maps are now built and distributed along with the distribution files to aid in debugging. To learn how to use the source maps Treehouse and HTML5Rocks have excellent resources.
L.esri.ClusteredFeatureLayer
has been moved to its own repository. https://github.com/Esri/esri-leaflet-clustered-feature-layerL.esri.HeatmapFeatureLayer
has been moved to its own repository. https://github.com/Esri/esri-leaflet-heatmap-feature-layer- An edge case when converting ArcGIS > GeoJSON has been resolved #340
popupOptions
are now properly persevered #348setStyle
now permanently overrides the style inoptions.style
. #349setWhere
andsetTimeRange
now take callbacks. #354- You can now abort JSONP requests with request.abort() just like with
XMLHttpRequest
. #354 returnGeometry
can now be set onL.esri.Tasks.Query
#358