Class: GeoRuby::SimpleFeatures::GeometryCollection

Inherits:
Object
  • Object
show all
Defined in:
lib/geojson.rb

Instance Method Summary collapse

Instance Method Details

#as_json(options = nil) ⇒ Object



102
103
104
105
# File 'lib/geojson.rb', line 102

def as_json(options = nil)
  {:type => "GeometryCollection", 
    :geometries => self.geometries}.as_json(options)
end