code: public static double metersToPixelsWithScaleFactor(float meters, double latitude, double scaleFactor, int tileSize) {
          return meters / MercatorProjection.calculateGroundResolutionWithScaleFactor(latitude, scaleFactor, tileSize);
      }
docs: Converts meters to pixels at latitude for zoom-level.
  
  @param meters      the meters to convert
  @param latitude    the latitude for the conversion.
  @param scaleFactor the scale factor for the conversion.
  @return pixels that represent the meters at the given zoom-level and latitude.