def to_g_polygon_api3(polygon_options = {}, options = {})
      if options[:single]
        self.to_g_polygon_single_api3(polygon_options, options)
      else
        self.collect do |p|
          p.to_g_polygon_api3(polygon_options, options)
        end
      end
    end
def to_g_polygon_api3(polygon_options = {}, options = {})
      if options[:single]
        self.to_g_polygon_single_api3(polygon_options, options)
      else
        self.collect do |p|
          p.to_g_polygon_api3(polygon_options, options)
        end
      end
    end
def to_g_polygon_api3 ( polygon_options = { } , options = { } ) if options [ :single ] self . to_g_polygon_single_api3 ( polygon_options , options ) else self . collect do | p | p . to_g_polygon_api3 ( polygon_options , options ) end end end
Returns a Ruby Array of Polygons for each geometry in the
 collection. If the :single option is set, a single Polygon object will
 be returned with all of the geometries set in the Polygon's "path"
 attribute. You can also use to_g_polygon_single for the same effect.
Returns a Ruby Array of Polygons for each geometry in the collection . If the : single option is set a single Polygon object will be returned with all of the geometries set in the Polygon s path attribute . You can also use to_g_polygon_single for the same effect .