Implement getPointResolution for EPSG:4326

This commit is contained in:
Tom Payne
2013-03-03 17:17:33 +01:00
parent 98d7391024
commit 343768df6a

View File

@@ -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:OGC:1.3:CRS84')
];
/**
* @inheritDoc
*/
ol.projection.EPSG4326.prototype.getPointResolution =
function(resolution, point) {
return resolution;
};