- now dependent on version ^6.0.0 of Angular
angular-esri-loader
is no longer included with the library. Instead,esri-loader
is 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-map
component
- use the full url for getting the ESRI CSS
- upgrade to use the
angular-esri-loader
module. 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 themapViewProperties
object 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-toggle
component
- add bundling and minification to the build process
- add a CONTRIBUTING guide
- rearrange the
dependencies
,peerDependencies
, anddevDependencies
appropriately
- 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-customWidget
directive to allow for custom elements to be added as a widget over the map. - widgets: Add the
esri4-layersToggle
component 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
mapInit
output event now returns an object with amap
property referring to the Map object and amapView
property referring to its MapView. The README.md file for the esri4-map component reflects the new usage regarding this change.