Class: Forma::MapConfig
- Inherits:
-
Object
- Object
- Forma::MapConfig
- Defined in:
- lib/forma/config.rb
Instance Attribute Summary collapse
-
#default_latitude ⇒ Object
Returns the value of attribute default_latitude.
-
#default_longitude ⇒ Object
Returns the value of attribute default_longitude.
-
#zoom_level ⇒ Object
Returns the value of attribute zoom_level.
Instance Method Summary collapse
-
#initialize ⇒ MapConfig
constructor
A new instance of MapConfig.
Constructor Details
#initialize ⇒ MapConfig
Returns a new instance of MapConfig.
62 63 64 65 66 |
# File 'lib/forma/config.rb', line 62 def initialize self.default_latitude = 41.711447 self.default_longitude = 44.754514 self.zoom_level = 17 end |
Instance Attribute Details
#default_latitude ⇒ Object
Returns the value of attribute default_latitude.
59 60 61 |
# File 'lib/forma/config.rb', line 59 def default_latitude @default_latitude end |
#default_longitude ⇒ Object
Returns the value of attribute default_longitude.
60 61 62 |
# File 'lib/forma/config.rb', line 60 def default_longitude @default_longitude end |
#zoom_level ⇒ Object
Returns the value of attribute zoom_level.
61 62 63 |
# File 'lib/forma/config.rb', line 61 def zoom_level @zoom_level end |