code: function addCoordinates(coordArray, number) {
    for (var i = 0; i < number; i++) {
      coordArray.push(generateLonLat());
    }
  }
docs: Adds a random coordinate to an array
  @param {Array} coordArray the coordinate array
  @param {Number} number     amount of coordinates which should be added