cirandas.net

ref: master

app/models/location_block.rb


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
class LocationBlock < Block

  attr_accessible :zoom, :map_type

  settings_items :zoom, :type => :integer, :default => 4
  settings_items :map_type, :type => :string, :default => 'roadmap'

  def self.description
    _('Location map')
  end

  def help
    _('Shows where the profile is on the material world.')
  end

end