module Geos::GoogleMaps::Api2::Polygon
Public Instance Methods
to_g_polygon_api2(polygon_options = {}, options = {})
click to toggle source
Returns a GPolygon 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_2.rb, line 162 def to_g_polygon_api2(polygon_options = {}, options = {}) self.exterior_ring.to_g_polygon_api2(polygon_options, options) end
to_g_polyline_api2(polyline_options = {}, options = {})
click to toggle source
Returns a GPolyline 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_2.rb, line 155 def to_g_polyline_api2(polyline_options = {}, options = {}) self.exterior_ring.to_g_polyline_api2(polyline_options, options) end