File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ OpenLayers.Control.Graticule = OpenLayers.Class(OpenLayers.Control, {
157
157
158
158
/**
159
159
* Property: projectionCenterLonLat
160
- * {OpenLayers.LonLat} The center of the projection's validty extent.
160
+ * {OpenLayers.LonLat} The center of the projection's validity extent.
161
161
*/
162
162
projectionCenterLonLat : null ,
163
163
@@ -407,7 +407,7 @@ OpenLayers.Control.Graticule = OpenLayers.Class(OpenLayers.Control, {
407
407
var centerLonLat = center . clone ( ) . transform (
408
408
this . projection , this . epsg4326Projection ) ;
409
409
// If centerLonLat could not be transformed (e.g. [0, 0] in polar
410
- // prjections ), we shift the center a bit to get a result.
410
+ // projections ), we shift the center a bit to get a result.
411
411
if ( isNaN ( centerLonLat . lon ) || isNaN ( centerLonLat . lat ) ) {
412
412
centerLonLat = center . add ( 0.000000001 , 0.000000001 ) . transform (
413
413
this . projection , this . epsg4326Projection ) ;
You can’t perform that action at this time.
0 commit comments