Skip to content

Commit

Permalink
fix(olHelpers.js): use HTTPS Mapbox URL (#338)
Browse files Browse the repository at this point in the history
This addresses issue #337. It is a one-character change, changing the protocol from http to https.
  • Loading branch information
barnabas-avalara authored and juristr committed Nov 22, 2016
1 parent cd65359 commit de0bbe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/olHelpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ angular.module('openlayers-directive').factory('olHelpers', function($q, $log, $
$log.error('[AngularJS - Openlayers] - MapBox layer requires the map id and the access token');
return;
}
url = 'http://api.tiles.mapbox.com/v4/' + source.mapId + '/{z}/{x}/{y}.png?access_token=' +
url = 'https://api.tiles.mapbox.com/v4/' + source.mapId + '/{z}/{x}/{y}.png?access_token=' +
source.accessToken;

pixelRatio = window.devicePixelRatio;
Expand Down

0 comments on commit de0bbe2

Please sign in to comment.