Skip to content

Commit

Permalink
v1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
www committed Nov 15, 2015
2 parents 5e49b70 + 011a7e8 commit 00743ec
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 5 deletions.
7 changes: 7 additions & 0 deletions dist/angular-openlayers-directive.js
Original file line number Diff line number Diff line change
Expand Up @@ -1955,6 +1955,13 @@ angular.module('openlayers-directive').factory('olHelpers', ["$q", "$log", "$htt
oLayer.set('name', layer.name);
}

// set custom layer properties if given
if (isDefined(layer.customAttributes)) {
for (var key in layer.customAttributes) {
oLayer.set(key, layer.customAttributes[key]);
}
}

return oLayer;
},

Expand Down
4 changes: 2 additions & 2 deletions dist/angular-openlayers-directive.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/angular-openlayers-directive.min.no-header.js

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions dist/angular-openlayers-directive.pre.js
Original file line number Diff line number Diff line change
Expand Up @@ -1955,6 +1955,13 @@ angular.module('openlayers-directive').factory('olHelpers', function($q, $log, $
oLayer.set('name', layer.name);
}

// set custom layer properties if given
if (isDefined(layer.customAttributes)) {
for (var key in layer.customAttributes) {
oLayer.set(key, layer.customAttributes[key]);
}
}

return oLayer;
},

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,5 +61,5 @@
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"main": "dist/angular-openlayers-directive",
"version": "1.3.0"
"version": "1.4.0"
}
7 changes: 7 additions & 0 deletions src/services/olHelpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -803,6 +803,13 @@ angular.module('openlayers-directive').factory('olHelpers', function($q, $log, $
oLayer.set('name', layer.name);
}

// set custom layer properties if given
if (isDefined(layer.customAttributes)) {
for (var key in layer.customAttributes) {
oLayer.set(key, layer.customAttributes[key]);
}
}

return oLayer;
},

Expand Down

0 comments on commit 00743ec

Please sign in to comment.