File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -337,12 +337,12 @@ String recoverNearest(
337
337
// than half the resolution, we need to move it north or south but keep it
338
338
// within -90 to 90 degrees.
339
339
if (referenceLatitude + halfResolution < centerLatitude &&
340
- centerLatitude - resolution >= - latitidueMax ) {
340
+ centerLatitude - resolution >= - latitudeMax ) {
341
341
// If the proposed code is more than half a cell north of the reference location,
342
342
// it's too far, and the best match will be one cell south.
343
343
centerLatitude -= resolution;
344
344
} else if (referenceLatitude - halfResolution > centerLatitude &&
345
- centerLatitude + resolution <= latitidueMax ) {
345
+ centerLatitude + resolution <= latitudeMax ) {
346
346
// If the proposed code is more than half a cell south of the reference location,
347
347
// it's too far, and the best match will be one cell north.
348
348
centerLatitude += resolution;
You can’t perform that action at this time.
0 commit comments