Skip to content

Commit

Permalink
v1.20.1
Browse files Browse the repository at this point in the history
  • Loading branch information
www committed Nov 7, 2017
2 parents 1085921 + 5355a86 commit 09753cb
Showing 6 changed files with 8 additions and 11 deletions.
2 changes: 1 addition & 1 deletion dist/angular-openlayers-directive.js
Original file line number Diff line number Diff line change
@@ -1646,7 +1646,7 @@ angular.module('openlayers-directive').factory('olHelpers', ["$q", "$log", "$htt
return;
}

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

oSource = new ol.source.XYZ({
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.

2 changes: 1 addition & 1 deletion dist/angular-openlayers-directive.pre.js
Original file line number Diff line number Diff line change
@@ -1646,7 +1646,7 @@ angular.module('openlayers-directive').factory('olHelpers', function($q, $log, $
return;
}

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

oSource = new ol.source.XYZ({
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -66,5 +66,5 @@
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"main": "dist/angular-openlayers-directive",
"version": "1.20.0"
"version": "1.20.1"
}
5 changes: 1 addition & 4 deletions src/services/olHelpers.js
Original file line number Diff line number Diff line change
@@ -391,10 +391,7 @@ angular.module('openlayers-directive').factory('olHelpers', function($q, $log, $
return;
}

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

oSource = new ol.source.XYZ({

0 comments on commit 09753cb

Please sign in to comment.