Minor code style, documentation and typo fixes

This commit is contained in:
Petr Sloup
2015-09-09 13:37:45 +02:00
parent 5388f96551
commit 94caa07168
5 changed files with 32 additions and 18 deletions
+2 -2
View File
@@ -83,7 +83,7 @@ ol.reproj.Triangulation = function(sourceProj, targetProj, targetExtent,
this.trianglesSourceExtent_ = null;
/**
* Indicates that source coordinates has to be shifted during reprojection.
* Indicates that source coordinates have to be shifted during reprojection.
* This is needed when the triangulation crosses
* edge of the source projection (dateline).
* @type {boolean}
@@ -286,7 +286,7 @@ ol.reproj.Triangulation.prototype.calculateSourceExtent = function() {
if (this.wrapsXInSource_) {
// although only some of the triangles are crossing the dateline,
// all coordiantes need to be "shifted" to be positive
// all coordinates need to be "shifted" to be positive
// to properly calculate the extent (and then possibly shifted back)
goog.array.forEach(this.triangles_, function(triangle, i, arr) {