Skip to content

Commit e6a8267

Browse files
committed
v1.15.0
2 parents a61d925 + a119166 commit e6a8267

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

dist/angular-openlayers-directive.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1736,7 +1736,7 @@ angular.module('openlayers-directive').factory('olHelpers', ["$q", "$log", "$htt
17361736
attributions: createAttribution(source),
17371737
imageSize: source.imageSize,
17381738
projection: projection,
1739-
imageExtent: projection.getExtent(),
1739+
imageExtent: source.imageExtent ? source.imageExtent : projection.getExtent(),
17401740
imageLoadFunction: source.imageLoadFunction
17411741
});
17421742
break;

dist/angular-openlayers-directive.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/angular-openlayers-directive.min.no-header.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/angular-openlayers-directive.pre.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1736,7 +1736,7 @@ angular.module('openlayers-directive').factory('olHelpers', function($q, $log, $
17361736
attributions: createAttribution(source),
17371737
imageSize: source.imageSize,
17381738
projection: projection,
1739-
imageExtent: projection.getExtent(),
1739+
imageExtent: source.imageExtent ? source.imageExtent : projection.getExtent(),
17401740
imageLoadFunction: source.imageLoadFunction
17411741
});
17421742
break;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,5 @@
6666
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
6767
},
6868
"main": "dist/angular-openlayers-directive",
69-
"version": "1.14.1"
69+
"version": "1.15.0"
7070
}

src/services/olHelpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,7 @@ angular.module('openlayers-directive').factory('olHelpers', function($q, $log, $
538538
attributions: createAttribution(source),
539539
imageSize: source.imageSize,
540540
projection: projection,
541-
imageExtent: projection.getExtent(),
541+
imageExtent: source.imageExtent ? source.imageExtent : projection.getExtent(),
542542
imageLoadFunction: source.imageLoadFunction
543543
});
544544
break;

0 commit comments

Comments
 (0)