code: function (minLatitude, maxLatitude) {
                  var pole;
                  if (minLatitude > 0) {
                      pole = Location.poles.NORTH; // Entirely in Northern Hemisphere.
                  }
                  else if (maxLatitude < 0) {
                      pole = Location.poles.SOUTH; // Entirely in Southern Hemisphere.
                  }
                  else if (Math.abs(maxLatitude) >= Math.abs(minLatitude)) {
                      pole = Location.poles.NORTH; // Spans equator, but more north than south.
                  }
                  else {
                      pole = Location.poles.SOUTH; // Spans equator, but more south than north.
                  }
                  return pole;
              }
docs: Internal. Applications should not call this method.
  Determine which pole is enclosed. If the shape is entirely in one hemisphere, then assume that it encloses
  the pole in that hemisphere. Otherwise, assume that it encloses the pole that is closest to the shape's
  extreme latitude.
  @param {Number} minLatitude The minimum latitude of a polygon that contains a pole
  @param {Number} maxLatitude The maximum latitude of a polygon that contains a pole
  @returns {Number} The pole number @see Location.poles