Changing the EPSG3857.PROJECTION array assignment and adding urn:ogc:crs:EPSG::3857 while removing a duplicate
This commit is contained in:
+9
-19
@@ -63,31 +63,21 @@ ol.proj.EPSG3857.EXTENT = [
|
|||||||
ol.proj.EPSG3857.WORLD_EXTENT = [-180, -85, 180, 85];
|
ol.proj.EPSG3857.WORLD_EXTENT = [-180, -85, 180, 85];
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Lists several projection codes with the same meaning as EPSG:3857.
|
|
||||||
*
|
|
||||||
* @type {Array.<string>}
|
|
||||||
*/
|
|
||||||
ol.proj.EPSG3857.CODES = [
|
|
||||||
'EPSG:3857',
|
|
||||||
'EPSG:102100',
|
|
||||||
'EPSG:102113',
|
|
||||||
'EPSG:900913',
|
|
||||||
'urn:ogc:def:crs:EPSG:6.18:3:3857',
|
|
||||||
'urn:ogc:def:crs:EPSG::3857',
|
|
||||||
'http://www.opengis.net/gml/srs/epsg.xml#3857'
|
|
||||||
];
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Projections equal to EPSG:3857.
|
* Projections equal to EPSG:3857.
|
||||||
*
|
*
|
||||||
* @const
|
* @const
|
||||||
* @type {Array.<ol.proj.Projection>}
|
* @type {Array.<ol.proj.Projection>}
|
||||||
*/
|
*/
|
||||||
ol.proj.EPSG3857.PROJECTIONS = ol.proj.EPSG3857.CODES.map(function(code) {
|
ol.proj.EPSG3857.PROJECTIONS = [
|
||||||
return new ol.proj.EPSG3857.Projection_(code);
|
new ol.proj.EPSG3857.Projection_('EPSG:3857'),
|
||||||
});
|
new ol.proj.EPSG3857.Projection_('EPSG:102100'),
|
||||||
|
new ol.proj.EPSG3857.Projection_('EPSG:102113'),
|
||||||
|
new ol.proj.EPSG3857.Projection_('urn:ogc:def:crs:EPSG:6.18:3:3857'),
|
||||||
|
new ol.proj.EPSG3857.Projection_('urn:ogc:def:crs:EPSG:3857'),
|
||||||
|
new ol.proj.EPSG3857.Projection_('urn:ogc:def:crs:EPSG::3857'),
|
||||||
|
new ol.proj.EPSG3857.Projection_('http://www.opengis.net/gml/srs/epsg.xml#3857')
|
||||||
|
];
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user