- now dependent on version ^6.0.0 of Angular
angular-esri-loaderis no longer included with the library. Instead,esri-loaderis used directly.
To upgrade your projects you will need to replace the EsriLoaderService that you may be importing from angular-esri-loader with the EsriModuleProvider from angular-esri-components. It will look like the below:
import { EsriLoaderService } from 'angular-esri-loader';
Will become
import { EsriModuleProvider } from 'angular-esri-components';
Also, EsriModuleProvider has a slightly different API than EsriLoaderService did. So, instead of calling a function called loadModules() you will call require().
- display sublayers on the Layers Toggle widget
- update library structure
- upgrade to arcgis js 4.6
- added module provider
- fixed links to the new reposity name
- fix issues with links in the main README.md file
- cleanup usage example for
esri-mapcomponent
- use the full url for getting the ESRI CSS
- upgrade to use the
angular-esri-loadermodule. removedangular2-esri-loader.
- *** RENAME REPO AND NPM PACKAGE *** This repo was renamed to
angular-esri-components. All NgModules, Components, and Services within it were renamed accordingly. - the ESRI CSS is now imported in the styles of the map component in this library and imports of this CSS in applications using this library should be removed
- use the full url for getting the ESRI library
- in
esri4-map.service, create a new object to modify rather than making changes to themapViewPropertiesobject that is provided as an argument to functions
- upgraded to ArcGIS API for JavaScript v4.3
- add anchor tag that will zoom to a layer to the
layers-togglecomponent
- add bundling and minification to the build process
- add a CONTRIBUTING guide
- rearrange the
dependencies,peerDependencies, anddevDependenciesappropriately
- add the webMapProperties input property on the esri4-map component to handle properties for WebMaps
- clean up the prepublish script
- The portalItemId property is no longer an input property. It was replaced by the webMapProperties input property.
- widgets: Add the
esri4-customWidgetdirective to allow for custom elements to be added as a widget over the map. - widgets: Add the
esri4-layersTogglecomponent to allow for toggling the visibility of layers of the map.
- add portalItemId input for loading a WebMap
- Rather than just returing the Map, the
mapInitoutput event now returns an object with amapproperty referring to the Map object and amapViewproperty referring to its MapView. The README.md file for the esri4-map component reflects the new usage regarding this change.