code: function (polygons, pole, poleIndex, iMaps) {
                  return {
                      polygons: polygons,
                      pole: pole,
                      poleIndex: poleIndex,
                      iMap: iMaps
                  };
              }
docs: Internal. Applications should not call this method.
  @param {Array} polygons an array of arrays of Locations or Positions
  @param {Number} pole the pole number @see Location.poles
  @param {Number} poleIndex the index of the polygon containing the pole
  @param {HashMap[]} iMaps an array of hash maps for each polygon