module Geos::GoogleMaps::Api2::GeometryCollection

Public Instance Methods

to_g_polygon_api2(polygon_options = {}, options = {}) click to toggle source

Returns a Ruby Array of GPolygons for each geometry in the collection.

# File lib/geos/google_maps/api_2.rb, line 184
def to_g_polygon_api2(polygon_options = {}, options = {})
  self.collect do |p|
    p.to_g_polygon_api2(polygon_options, options)
  end
end
to_g_polyline_api2(polyline_options = {}, options = {}) click to toggle source

Returns a Ruby Array of GPolylines for each geometry in the collection.

# File lib/geos/google_maps/api_2.rb, line 176
def to_g_polyline_api2(polyline_options = {}, options = {})
  self.collect do |p|
    p.to_g_polyline_api2(polyline_options, options)
  end
end