Skip to content

Commit 09753cb

Browse files
committed
v1.20.1
2 parents 1085921 + 5355a86 commit 09753cb

File tree

6 files changed

+8
-11
lines changed

6 files changed

+8
-11
lines changed

dist/angular-openlayers-directive.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1646,7 +1646,7 @@ angular.module('openlayers-directive').factory('olHelpers', ["$q", "$log", "$htt
16461646
return;
16471647
}
16481648

1649-
var _urlBase = 'http://services.arcgisonline.com/ArcGIS/rest/services/';
1649+
var _urlBase = 'https://services.arcgisonline.com/ArcGIS/rest/services/';
16501650
var _url = _urlBase + source.layer + '/MapServer/tile/{z}/{y}/{x}';
16511651

16521652
oSource = new ol.source.XYZ({

dist/angular-openlayers-directive.min.js

Lines changed: 2 additions & 2 deletions
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: 2 additions & 2 deletions
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
@@ -1646,7 +1646,7 @@ angular.module('openlayers-directive').factory('olHelpers', function($q, $log, $
16461646
return;
16471647
}
16481648

1649-
var _urlBase = 'http://services.arcgisonline.com/ArcGIS/rest/services/';
1649+
var _urlBase = 'https://services.arcgisonline.com/ArcGIS/rest/services/';
16501650
var _url = _urlBase + source.layer + '/MapServer/tile/{z}/{y}/{x}';
16511651

16521652
oSource = new ol.source.XYZ({

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.20.0"
69+
"version": "1.20.1"
7070
}

src/services/olHelpers.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -391,10 +391,7 @@ angular.module('openlayers-directive').factory('olHelpers', function($q, $log, $
391391
return;
392392
}
393393

394-
var _urlBase = 'http://services.arcgisonline.com/ArcGIS/rest/services/';
395-
if (source.layer === 'World_Light_Gray_Base' || source.layer === 'World_Dark_Gray_Base') {
396-
_urlBase = _urlBase + 'Canvas/';
397-
}
394+
var _urlBase = 'https://services.arcgisonline.com/ArcGIS/rest/services/';
398395
var _url = _urlBase + source.layer + '/MapServer/tile/{z}/{y}/{x}';
399396

400397
oSource = new ol.source.XYZ({

0 commit comments

Comments
 (0)