class Place::AreaConfig

Included Modules

Extended Modules

Defined in:

place/area_config.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(id : String, name, coordinates, building_id = nil, area_type : String = "Feature", feature_type : String = "section", capacity = nil) #

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

[View source]

Instance Method Detail

def area_type : String #

[View source]
def area_type=(area_type : String) #

[View source]
def building : String | Nil #

[View source]
def capacity : Int32 | Nil #

[View source]
def coordinates(map_width : Float64, map_height : Float64) #

[View source]
def coordinates #

[View source]
def feature_type : String #

[View source]
def feature_type=(feature_type : String) #

[View source]
def geometry : Geometry #

[View source]
def geometry=(geometry : Geometry) #

[View source]
def id : String #

[View source]
def id=(id : String) #

[View source]
def name : String #

[View source]
def polygon : Polygon #

[View source]
def properties : Hash(String, JSON::Any::Type) #

[View source]
def properties=(properties : Hash(String, JSON::Any::Type)) #

[View source]