Update links to external resources
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user