Class: GeoRuby::SimpleFeatures::Point
- Inherits:
-
Object
- Object
- GeoRuby::SimpleFeatures::Point
- Defined in:
- lib/geojson.rb
Instance Method Summary collapse
Instance Method Details
#as_json(options = nil) ⇒ Object
61 62 63 64 |
# File 'lib/geojson.rb', line 61 def as_json( = nil) {:type => "Point", :coordinates => [self.x, self.y]}.as_json() end |