code: function GroundResolution(latitude, levelOfDetail){
      laitude = clip(latitude, MinLatitude, MaxLatitude);
      return Math.cos(latitude * Math.PI / 180) * 2 * Math.PI * EarthRadius / MapSize(levelOfDetail);
  }
docs: / <summary> / Determines the ground resolution (in meters per pixel) at a specified / latitude and level of detail. / </summary> / <param name="latitude">Latitude (in degrees) at which to measure the / ground resolution.</param> / <param name="levelOfDetail">Level of detail, from 1 (lowest detail) / to 23 (highest detail).</param> / <returns>The ground resolution, in meters per pixel.</returns>