Implement getPointResolution for EPSG:4326
This commit is contained in:
@@ -41,3 +41,12 @@ ol.projection.EPSG4326.PROJECTIONS = [
|
|||||||
new ol.projection.EPSG4326('urn:ogc:def:crs:EPSG:6.6:4326', 'neu'),
|
new ol.projection.EPSG4326('urn:ogc:def:crs:EPSG:6.6:4326', 'neu'),
|
||||||
new ol.projection.EPSG4326('urn:ogc:def:crs:OGC:1.3:CRS84')
|
new ol.projection.EPSG4326('urn:ogc:def:crs:OGC:1.3:CRS84')
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @inheritDoc
|
||||||
|
*/
|
||||||
|
ol.projection.EPSG4326.prototype.getPointResolution =
|
||||||
|
function(resolution, point) {
|
||||||
|
return resolution;
|
||||||
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user