Trying to open index.html in dist/ after running grunt --force and copying the layers folder in dist/layers results in "$scope.map._layers undefined error" while runnin $scope.map.eachLayer in function getGeoJSONLayer() in battelle.js:
|
$scope.map.eachLayer(function(lf_layer){ |
Maybe something is wrong in Gruntfile.js or a race condition or an unwanted renaming (minification) ?
Trying to open index.html in dist/ after running grunt --force and copying the layers folder in dist/layers results in "$scope.map._layers undefined error" while runnin $scope.map.eachLayer in function getGeoJSONLayer() in battelle.js:
webmapp/app/scripts/controllers/battelle.js
Line 703 in 57f0235
Maybe something is wrong in Gruntfile.js or a race condition or an unwanted renaming (minification) ?