Update links to external resources
This commit is contained in:
@@ -22,7 +22,7 @@ This will run tests in Chrome. If you do not have Chrome installed, you can run
|
||||
|
||||
npm test -- --browsers Firefox
|
||||
|
||||
To run tests in other browsers, you need to install [additional Karma launchers](http://karma-runner.github.io/1.0/config/browsers.html).
|
||||
To run tests in other browsers, you need to install [additional Karma launchers](https://karma-runner.github.io/1.0/config/browsers.html).
|
||||
|
||||
To run the tests continuously:
|
||||
|
||||
|
||||
@@ -273,7 +273,7 @@ describe('ol.proj', function () {
|
||||
});
|
||||
|
||||
describe('transform from 4326 to 3857 (Alastaira)', function () {
|
||||
// http://alastaira.wordpress.com/2011/01/23/the-google-maps-bing-maps-spherical-mercator-projection/
|
||||
// https://alastaira.wordpress.com/2011/01/23/the-google-maps-bing-maps-spherical-mercator-projection/
|
||||
|
||||
it('returns expected value using ol.proj.transform', function () {
|
||||
const point = transform(
|
||||
@@ -297,7 +297,7 @@ describe('ol.proj', function () {
|
||||
});
|
||||
|
||||
describe('transform from 3857 to 4326 (Alastaira)', function () {
|
||||
// http://alastaira.wordpress.com/2011/01/23/the-google-maps-bing-maps-spherical-mercator-projection/
|
||||
// https://alastaira.wordpress.com/2011/01/23/the-google-maps-bing-maps-spherical-mercator-projection/
|
||||
|
||||
it('returns expected value using ol.proj.transform', function () {
|
||||
const point = transform(
|
||||
|
||||
@@ -57,7 +57,7 @@ describe('ol/proj/epsg3857', function () {
|
||||
|
||||
describe('getPointResolution', function () {
|
||||
it('returns the correct point scale at the equator', function () {
|
||||
// @see http://msdn.microsoft.com/en-us/library/aa940990.aspx
|
||||
// @see https://docs.microsoft.com/en-us/bingmaps/articles/understanding-scale-and-resolution
|
||||
const epsg3857 = getProjection('EPSG:3857');
|
||||
const resolution = 19.11;
|
||||
const point = [0, 0];
|
||||
@@ -68,7 +68,7 @@ describe('ol/proj/epsg3857', function () {
|
||||
});
|
||||
|
||||
it('returns the correct point scale at the latitude of Toronto', function () {
|
||||
// @see http://msdn.microsoft.com/en-us/library/aa940990.aspx
|
||||
// @see https://docs.microsoft.com/en-us/bingmaps/articles/understanding-scale-and-resolution
|
||||
const epsg3857 = getProjection('EPSG:3857');
|
||||
const epsg4326 = getProjection('EPSG:4326');
|
||||
const resolution = 19.11;
|
||||
@@ -80,7 +80,7 @@ describe('ol/proj/epsg3857', function () {
|
||||
});
|
||||
|
||||
it('returns the correct point scale at various latitudes', function () {
|
||||
// @see http://msdn.microsoft.com/en-us/library/aa940990.aspx
|
||||
// @see https://docs.microsoft.com/en-us/bingmaps/articles/understanding-scale-and-resolution
|
||||
const epsg3857 = getProjection('EPSG:3857');
|
||||
const epsg4326 = getProjection('EPSG:4326');
|
||||
const resolution = 19.11;
|
||||
|
||||
@@ -160,7 +160,7 @@ describe('ol.structs.RBush', function () {
|
||||
|
||||
it('can remove objects in random order', function () {
|
||||
let i, ii, j;
|
||||
// http://en.wikipedia.org/wiki/Random_permutation
|
||||
// https://en.wikipedia.org/wiki/Random_permutation
|
||||
const indexes = [];
|
||||
for (i = 0, ii = objs.length; i < ii; ++i) {
|
||||
j = Math.floor(Math.random() * (i + 1));
|
||||
|
||||
@@ -674,7 +674,7 @@ describe('ol.tilegrid.TileGrid', function () {
|
||||
});
|
||||
|
||||
it('returns the correct resolution at the equator', function () {
|
||||
// @see http://msdn.microsoft.com/en-us/library/aa940990.aspx
|
||||
// @see https://docs.microsoft.com/en-us/bingmaps/articles/understanding-scale-and-resolution
|
||||
expect(tileGrid.getResolution(0)).to.roughlyEqual(156543.04, 1e-2);
|
||||
expect(tileGrid.getResolution(1)).to.roughlyEqual(78271.52, 1e-2);
|
||||
expect(tileGrid.getResolution(2)).to.roughlyEqual(39135.76, 1e-2);
|
||||
|
||||
@@ -260,7 +260,7 @@
|
||||
// we do not care about the difference between an empty string and
|
||||
// null for namespaceURI some tests will fail in IE9 otherwise
|
||||
// see also
|
||||
// http://msdn.microsoft.com/en-us/library/ff460650(v=vs.85).aspx
|
||||
// https://docs.microsoft.com/en-us/openspecs/ie_standards/ms-dom2c/d6ad7f24-25f4-4ab0-a36b-32ddc08f413c
|
||||
if (
|
||||
(node1Attr[name].namespaceURI || null) !==
|
||||
(node2Attr[name].namespaceURI || null)
|
||||
|
||||
Reference in New Issue
Block a user