You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 1, 2020. It is now read-only.
After the Angular 1.6.0 update angular-esri-map (2.0.1) seems to be breaking over viewOptions. The following error is logged:
TypeError: this.viewOptions is not a function at new EsriMapViewController (http://localhost:9000/bower_components/angular-esri-map/dist/angular-esri-map.js:337:33) at Object.invoke (http://localhost:9000/bower_components/angular/angular.js:4839:19) at $controllerInit (http://localhost:9000/bower_components/angular/angular.js:10692:34) at nodeLinkFn (http://localhost:9000/bower_components/angular/angular.js:9569:35) at compositeLinkFn (http://localhost:9000/bower_components/angular/angular.js:8878:13) at nodeLinkFn (http://localhost:9000/bower_components/angular/angular.js:9632:11) at compositeLinkFn (http://localhost:9000/bower_components/angular/angular.js:8878:13) at compositeLinkFn (http://localhost:9000/bower_components/angular/angular.js:8881:13) at compositeLinkFn (http://localhost:9000/bower_components/angular/angular.js:8881:13) at compositeLinkFn (http://localhost:9000/bower_components/angular/angular.js:8881:13) <div ng-view="" class="ng-scope" data-ng-animate="1">
Changing line 337 of angular-esri-map.js from self.options = this.viewOptions() || {}; to self.options = {}; solves the problem but of course the default viewOptions are not initialised.