struct PlaceOS::Driver::Interface::Sensor::GeoLocation

Defined in:

placeos-driver/interface/sensor.cr

Constructors

Instance Method Summary

Constructor methods inherited from struct PlaceOS::Driver::Interface::Sensor::Location

new(pull : JSON::PullParser) new

Constructor Detail

def self.new(lat : Float64, lon : Float64) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def lat : Float64 #

[View source]
def lat=(lat : Float64) #

[View source]
def lon : Float64 #

[View source]
def lon=(lon : Float64) #

[View source]
def s2_cell_id(s2_level : Int32 = 21) #

[View source]
def type : String #

[View source]