def max_polyfill_size(geo_polygon, resolution)
      geo_polygon = geo_json_to_coordinates(geo_polygon) if geo_polygon.is_a?(String)
      Bindings::Private.max_polyfill_size(build_polygon(geo_polygon), resolution)
    end
def max_polyfill_size(geo_polygon, resolution)
      geo_polygon = geo_json_to_coordinates(geo_polygon) if geo_polygon.is_a?(String)
      Bindings::Private.max_polyfill_size(build_polygon(geo_polygon), resolution)
    end
Derive the maximum number of H3 indexes that could be returned from the input.

 @param [String, Array<Array<Array<Float>>>] geo_polygon Either a GeoJSON string
 or a coordinates nested array.
 @param [Integer] resolution Resolution.

 @example Derive maximum number of hexagons for given GeoJSON document.
   geo_json = "{\"type\":\"Polygon\",\"coordinates\":[[[-1.735839843749998,52.24630137198303],
     [-1.8923950195312498,52.05249047600099],[-1.56829833984375,51.891749018068246],
     [-1.27716064453125,51.91208502557545],[-1.19476318359375,52.032218104145294],
     [-1.24420166015625,52.19413974159753],[-1.5902709960937498,52.24125614966341],
     [-1.7358398437499998,52.24630137198303]],[[-1.58203125,52.12590076522272],
     [-1.476287841796875,52.12590076522272],[-1.46392822265625,52.075285904832334],
     [-1.58203125,52.06937709602395],[-1.58203125,52.12590076522272]],
     [[-1.4556884765625,52.01531743663362],[-1.483154296875,51.97642166216334],
     [-1.3677978515625,51.96626938051444],[-1.3568115234375,52.0102459910103],
     [-1.4556884765625,52.01531743663362]]]}"
   H3.max_polyfill_size(geo_json, 9)
   33391

 @example Derive maximum number of hexagons for a nested array of coordinates.
   coordinates = [
     [
       [52.24630137198303, -1.7358398437499998], [52.05249047600099, -1.8923950195312498],
       [51.891749018068246, -1.56829833984375], [51.91208502557545, -1.27716064453125],
       [52.032218104145294, -1.19476318359375], [52.19413974159753, -1.24420166015625],
       [52.24125614966341, -1.5902709960937498], [52.24630137198303, -1.7358398437499998]
     ],
     [
       [52.12590076522272, -1.58203125], [52.12590076522272, -1.476287841796875],
       [52.075285904832334, -1.46392822265625], [52.06937709602395, -1.58203125],
       [52.12590076522272, -1.58203125]
     ],
     [
       [52.01531743663362, -1.4556884765625], [51.97642166216334, -1.483154296875],
       [51.96626938051444, -1.3677978515625], [52.0102459910103, -1.3568115234375],
       [52.01531743663362, -1.4556884765625]
     ]
   ]
   H3.max_polyfill_size(coordinates, 9)
   33391

 @return [Integer] Maximum number of hexagons needed to polyfill given area.