diff --git a/src/ol/graticule.js b/src/ol/graticule.js index 53ce851ad2..a371528f2c 100644 --- a/src/ol/graticule.js +++ b/src/ol/graticule.js @@ -519,7 +519,7 @@ ol.Graticule.prototype.getMeridians = function() { ol.Graticule.prototype.getParallel_ = function(lat, minLon, maxLon, squaredTolerance, index) { var flatCoordinates = ol.geom.flat.geodesic.parallel(lat, - this.minLon_, this.maxLon_, this.projection_, squaredTolerance); + minLon, maxLon, this.projection_, squaredTolerance); var lineString = this.parallels_[index] !== undefined ? this.parallels_[index] : new ol.geom.LineString(null); lineString.setFlatCoordinates(ol.geom.GeometryLayout.XY, flatCoordinates);