Module: Geos::GoogleMaps::Api3::Polygon

Includes:
Geos::GoogleMaps::ApiCommon::UrlValueBounds
Defined in:
lib/geos/google_maps/api_3.rb

Instance Method Summary collapse

Methods included from Geos::GoogleMaps::ApiCommon::UrlValueBounds

#to_g_url_value, #to_g_url_value_point

Instance Method Details

#to_g_polygon_api3(polygon_options = {}, options = {}) ⇒ Object

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



165
166
167
# File 'lib/geos/google_maps/api_3.rb', line 165

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 = {}) ⇒ Object

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



158
159
160
# File 'lib/geos/google_maps/api_3.rb', line 158

def to_g_polyline_api3(polyline_options = {}, options = {})
  self.exterior_ring.to_g_polyline_api3(polyline_options, options)
end