module Geos::GoogleMaps::Api3::Polygon

Public Instance Methods

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

Returns a Polygon of the exterior ring of the Polygon. This does not take into consideration any interior rings the Polygon may have.

# File lib/geos/google_maps/api_3.rb, line 167
def to_g_polygon_api3(polygon_options = {}, options = {})
  self.exterior_ring.to_g_polygon_api3(polygon_options, options)
end
to_g_polyline_api3(polyline_options = {}, options = {}) click to toggle source

Returns a Polyline of the exterior ring of the Polygon. This does not take into consideration any interior rings the Polygon may have.

# File lib/geos/google_maps/api_3.rb, line 160
def to_g_polyline_api3(polyline_options = {}, options = {})
  self.exterior_ring.to_g_polyline_api3(polyline_options, options)
end