class Object

Public Instance Methods

toGeoJSON() click to toggle source
# File lib/gis/protobuf.rb, line 6
def toGeoJSON()
  {
    type: "Point",
    coordinates: [self.x, self.y]
  }
end