Class: Decidim::Geo::GeoShapedataType

Inherits:
Api::Types::BaseObject
  • Object
show all
Defined in:
lib/decidim/api/geo_shapedata_type.rb

Overview

GeoShapedataType

Instance Method Summary collapse

Instance Method Details

#geomObject



13
14
15
# File 'lib/decidim/api/geo_shapedata_type.rb', line 13

def geom
  RGeo::GeoJSON.encode(object.geom)
end