Class: GeoRuby::SimpleFeatures::GeometryCollection
- Inherits:
-
Object
- Object
- GeoRuby::SimpleFeatures::GeometryCollection
- 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( = nil) {:type => "GeometryCollection", :geometries => self.geometries}.as_json() end |